]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitcc295d0e95063809af31971e4aec1d809247f13b
tree78176e5d07e32bd06aad5b4d321573002f9f99cd
parent04bdfb9191eaf7330ac88edf83d7b49878c9b2d1
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