]> git.baikalelectronics.ru Git - kernel.git/commit
ps3: vuart: fix error path locking
authorDaniel Walker <dwalker@mvista.com>
Sat, 22 Dec 2007 22:03:28 +0000 (14:03 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 23 Dec 2007 20:54:37 +0000 (12:54 -0800)
commite0dcf7b20aea35e16fdd096a793f4c254e4935b2
tree78176e5d07e32bd06aad5b4d321573002f9f99cd
parent83ed1ec5ebf3bc31a4b5f8feb5e866c58d8c505e
ps3: vuart: fix error path locking

This stray down would cause a permanent sleep which doesn't seem correct.
The other uses of this semaphore appear fairly mutex like it's even
initialized with init_MUTEX() ..  So here a patch for removing this one
down().

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Daniel Walker <dwalker@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/ps3/ps3-vuart.c