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:
d49dd78
)
usb: phy: replace spinlock with mutex in OTG FSM
author
Anton Tikhomirov
<av.tikhomirov@samsung.com>
Tue, 26 Nov 2013 02:46:05 +0000
(11:46 +0900)
committer
Felipe Balbi
<balbi@ti.com>
Tue, 26 Nov 2013 16:58:18 +0000
(10:58 -0600)
OTG Final State Machine calls functions which may sleep.
For example, start_gadget callback implementation can use
usb_gadget_vbus_connect(), whose context: can sleep.
If so, mutex should be used instead of spinlock.
Signed-off-by: Anton Tikhomirov <av.tikhomirov@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
No differences found