linux/drivers/usb/dwc3
George Cherian 7ee2566ff5 usb: dwc3: dwc3-omap: get rid of ->prepare()/->complete()
Enabling the core interrupts in complete is too late for
XHCI, and stops it from proper operation. The root of the
problem is due to a disagreement between dwc3-omap and XHCI
about when IRQs should be enabled.

As it turns out, ->resume's documentation states that:

"... generally the driver is expected to start working
again, responding to hardware events and software requests
(the device itself may be left in a low-power state, waiting
for a runtime resume to occur) ..."

From that we infer that IRQs must be unmasked by the end of
->resume().

Due to that, we will remove ->prepare() and ->complete() and
disable/enable interrupts in ->suspend()/->resume().

Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: George Cherian <george.cherian@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2014-11-03 10:00:58 -06:00
..
core.c usb: dwc3: add ACPI support 2014-11-03 10:00:54 -06:00
core.h usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
debug.c usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
debug.h usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
debugfs.c usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
dwc3-exynos.c usb: dwc3: remove unnecessary OOM messages 2014-08-20 12:14:45 -05:00
dwc3-keystone.c USB: Remove .owner field for driver 2014-09-28 21:55:10 -04:00
dwc3-omap.c usb: dwc3: dwc3-omap: get rid of ->prepare()/->complete() 2014-11-03 10:00:58 -06:00
dwc3-pci.c usb: dwc3: pci: Add PCI ID for Intel Braswell 2014-10-20 15:58:49 -05:00
dwc3-qcom.c USB: Remove .owner field for driver 2014-09-28 21:55:10 -04:00
dwc3-st.c usb: dwc3: add ST dwc3 glue layer to manage dwc3 HC 2014-09-05 10:49:00 -05:00
ep0.c usb: dwc3: ep0: trace ep0 TRBs too 2014-11-03 10:00:55 -06:00
gadget.c usb: dwc3: gadget: Properly initialize LINK TRB 2014-10-23 13:57:24 -05:00
gadget.h usb: dwc3: gadget: fix set_halt() bug with pending transfers 2014-10-20 15:58:48 -05:00
host.c dwc3: host: Enable USB3 LPM capability 2014-07-09 15:41:34 -07:00
io.h usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
Kconfig usb: dwc3: Add Qualcomm DWC3 glue layer driver 2014-09-12 15:43:48 -05:00
Makefile usb: dwc3: Add Qualcomm DWC3 glue layer driver 2014-09-12 15:43:48 -05:00
platform_data.h usb: dwc3: adapt to use dr_mode device tree helper 2013-07-29 13:56:51 +03:00
trace.c usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
trace.h usb: dwc3: trace: remove unnecessary newline character 2014-11-03 10:00:53 -06:00