git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdefce1
)
mfd: Fix usbhs_enable error handling
author
Axel Lin
<axel.lin@gmail.com>
Thu, 21 Apr 2011 14:22:41 +0000
(19:52 +0530)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 2 May 2011 09:34:34 +0000
(12:34 +0300)
In the case of missing platform_data we do not hold a spin_lock,
thus we should not call spin_unlock_irqrestore in the error path.
Also simplify the error handling by separating the successful path
from error path. I think this change improves readability.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Tested-by: Steve Calfee <stevecalfee@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/mfd/omap-usb-host.c
patch
|
blob
|
history
diff --cc
drivers/mfd/omap-usb-host.c
Simple merge