mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-09-18 22:14:16 +00:00 
			
		
		
		
	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>
This commit is contained in:
		
							parent
							
								
									04bdfb9191
								
							
						
					
					
						commit
						cc295d0e95
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		|  | @ -1074,7 +1074,6 @@ static int ps3_vuart_probe(struct ps3_system_bus_device *dev) | |||
| 	if (result) { | ||||
| 		dev_dbg(&dev->core, "%s:%d: drv->probe failed\n", | ||||
| 			__func__, __LINE__); | ||||
| 		down(&vuart_bus_priv.probe_mutex); | ||||
| 		goto fail_probe; | ||||
| 	} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Daniel Walker
						Daniel Walker