diff options
author | Anton Tikhomirov <av.tikhomirov@samsung.com> | 2013-11-26 11:46:05 +0900 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-11-26 10:58:18 -0600 |
commit | 16e569e9661ea2b964b8abb607a51e5285254021 (patch) | |
tree | 528220cbbd28bb3ab6e16ea0603d9da38a153490 /drivers/cdrom | |
parent | d49dd788840ff802421ed7412e967b659fe9ca58 (diff) | |
download | blackbird-op-linux-16e569e9661ea2b964b8abb607a51e5285254021.tar.gz blackbird-op-linux-16e569e9661ea2b964b8abb607a51e5285254021.zip |
usb: phy: replace spinlock with mutex in OTG FSM
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>
Diffstat (limited to 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions