ARM: 6024/1: bcmring: fix missing down on semaphore in dma.c
authorLeo Chen <leochen@broadcom.com>
Thu, 1 Apr 2010 18:13:19 +0000 (19:13 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 7 Apr 2010 20:11:27 +0000 (21:11 +0100)
commit76708ab83962732ba3191ce8a61d8410406c8358
tree92384c92cd430fb7f865f7db0f6bf5624549039d
parent0fdf86754f70e813845af4abaa805165ce57a0bb
ARM: 6024/1: bcmring: fix missing down on semaphore in dma.c

Added missing down on the memMap->lock semaphore. Also fixed a return
statement so that we always exit with an up (i.e. early exit via return
is not allowed)

Signed-off-by: Leo Hao Chen <leochen@broadcom.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-bcmring/dma.c