linux/drivers/usb/dwc2
Marek Szyprowski 7b093f773b usb: dwc2: gadget: fix calls to phy control functions in suspend/resume code
This patch moves calls to phy enable/disable out of spinlock protected
blocks in device suspend/resume to fix incorrect caller context. Phy
related functions must not be called from atomic context. To protect
device internal state from a race during suspend, a call to
s3c_hsotg_core_disconnect() is added under a spinlock, what prevents any
further activity on the usb bus.

Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2014-11-03 10:01:23 -06:00
..
core_intr.c usb: dwc2: handle the Host Port Interrupt when it occurs in device mode 2014-02-07 14:34:38 -08:00
core.c usb: dwc2: clip max_transfer_size to 65535 2014-09-19 16:17:58 -07:00
core.h usb: dwc2: Bits in bitfield should add up to 32 2014-10-23 09:55:43 -05:00
gadget.c usb: dwc2: gadget: fix calls to phy control functions in suspend/resume code 2014-11-03 10:01:23 -06:00
hcd_ddma.c
hcd_intr.c usb: dwc2: handle DMA buffer unmapping sanely 2014-09-19 16:17:58 -07:00
hcd_queue.c usb: dwc2: handle DMA buffer unmapping sanely 2014-09-19 16:17:58 -07:00
hcd.c usb: dwc2: handle DMA buffer unmapping sanely 2014-09-19 16:17:58 -07:00
hcd.h usb: dwc2: handle DMA buffer unmapping sanely 2014-09-19 16:17:58 -07:00
hw.h usb: dwc2: add defines to support s3c-hsotg driver 2014-04-24 13:12:43 -07:00
Kconfig Revert "usb: dwc2: Update Kconfig to support dual-role" 2014-09-11 13:45:13 -07:00
Makefile Revert "usb: dwc2: Update Kconfig to support dual-role" 2014-09-11 13:45:13 -07:00
pci.c
platform.c Revert "usb: dwc2: move "samsung,s3c6400-hsotg" into common platform" 2014-09-11 13:48:43 -07:00