diff options
| author | Anton Tikhomirov <av.tikhomirov@samsung.com> | 2013-11-26 06:46:05 +0400 |
|---|---|---|
| committer | Felipe Balbi <balbi@ti.com> | 2013-11-26 20:58:18 +0400 |
| commit | 16e569e9661ea2b964b8abb607a51e5285254021 (patch) | |
| tree | 528220cbbd28bb3ab6e16ea0603d9da38a153490 /include/linux/timerqueue.h | |
| parent | d49dd788840ff802421ed7412e967b659fe9ca58 (diff) | |
| download | linux-16e569e9661ea2b964b8abb607a51e5285254021.tar.xz | |
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 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
