Skip to content

Commit cc295d0

Browse files
Daniel WalkerLinus Torvalds
authored andcommitted
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>
1 parent 04bdfb9 commit cc295d0

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎drivers/ps3/ps3-vuart.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,6 @@ static int ps3_vuart_probe(struct ps3_system_bus_device *dev)
10741074
if (result) {
10751075
dev_dbg(&dev->core, "%s:%d: drv->probe failed\n",
10761076
__func__, __LINE__);
1077-
down(&vuart_bus_priv.probe_mutex);
10781077
goto fail_probe;
10791078
}
10801079

0 commit comments

Comments
 (0)