diff options
author | Daniel Walker <dwalker@mvista.com> | 2007-12-22 17:03:28 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-12-23 15:54:37 -0500 |
commit | cc295d0e95063809af31971e4aec1d809247f13b (patch) | |
tree | 78176e5d07e32bd06aad5b4d321573002f9f99cd | |
parent | 04bdfb9191eaf7330ac88edf83d7b49878c9b2d1 (diff) |
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>
-rw-r--r-- | drivers/ps3/ps3-vuart.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ps3/ps3-vuart.c b/drivers/ps3/ps3-vuart.c index 9dea585ef806..bb8d5b1eec90 100644 --- a/drivers/ps3/ps3-vuart.c +++ b/drivers/ps3/ps3-vuart.c | |||
@@ -1074,7 +1074,6 @@ static int ps3_vuart_probe(struct ps3_system_bus_device *dev) | |||
1074 | if (result) { | 1074 | if (result) { |
1075 | dev_dbg(&dev->core, "%s:%d: drv->probe failed\n", | 1075 | dev_dbg(&dev->core, "%s:%d: drv->probe failed\n", |
1076 | __func__, __LINE__); | 1076 | __func__, __LINE__); |
1077 | down(&vuart_bus_priv.probe_mutex); | ||
1078 | goto fail_probe; | 1077 | goto fail_probe; |
1079 | } | 1078 | } |
1080 | 1079 | ||