diff options
| author | Gregory Herrero <gregory.herrero@intel.com> | 2015-04-29 22:09:03 +0200 |
|---|---|---|
| committer | Felipe Balbi <balbi@ti.com> | 2015-04-29 15:18:49 -0500 |
| commit | 3eb42df3ebfbd8d46b831c26ecb90e128ad474a5 (patch) | |
| tree | c2a2c523d1599779d44e992b79375e8017aff440 /drivers/usb/dwc2/platform.c | |
| parent | f81f46e1f530900323b6e32eba1af7244ca69537 (diff) | |
| download | linux-3eb42df3ebfbd8d46b831c26ecb90e128ad474a5.tar.gz linux-3eb42df3ebfbd8d46b831c26ecb90e128ad474a5.tar.bz2 linux-3eb42df3ebfbd8d46b831c26ecb90e128ad474a5.zip | |
usb: dwc2: controller must update lx_state before releasing lock
During suspend, there could a race condition between ep_queue and
suspend interrupt if lx_state is updated after releasing spinlock in
call_gadget(hsotg, suspend).
Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Gregory Herrero <gregory.herrero@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc2/platform.c')
0 files changed, 0 insertions, 0 deletions
