linux/drivers/usb/dwc3
Felipe Balbi fed33afce0 usb: dwc3: core: fix order of PM runtime calls
Currently, we disable pm_runtime before all register
accesses are done, this is dangerous and might lead
to abort exceptions due to the driver trying to access
a register which is clocked by a clock which was long
gated.

Fix that by moving pm_runtime_put_sync() and pm_runtime_disable()
as the last thing we do before returning from our ->remove()
method.

Fixes: 72246da (usb: Introduce DesignWare USB3 DRD Driver)
Cc: <stable@vger.kernel.org> # v3.2+
Signed-off-by: Felipe Balbi <balbi@ti.com>
2014-09-03 16:50:44 -05:00
..
core.c usb: dwc3: core: fix order of PM runtime calls 2014-09-03 16:50:44 -05:00
core.h usb: dwc3: add support for USB 2.0-only core configuration 2014-06-30 12:28:08 -05:00
debug.h usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
debugfs.c usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
dwc3-exynos.c usb: dwc3: no need to initialize ret variable 2014-05-15 10:26:21 -05:00
dwc3-keystone.c usb: dwc3: add Keystone specific glue layer 2013-12-12 13:43:07 -06:00
dwc3-omap.c usb: dwc3: omap: signedness bug in dwc3_omap_set_utmi_mode() 2014-08-19 09:24:48 -05:00
dwc3-pci.c usb: dwc3: convert to pcim_enable_device() 2014-05-15 10:26:38 -05:00
ep0.c usb: dwc3: fix implementation of endpoint wedge 2013-11-25 10:56:45 -06:00
gadget.c usb: dwc3: gadget: Fix desc NULL pointer in dwc3_gadget_ep_queue() 2014-09-03 15:15:55 -05:00
gadget.h usb: dwc3: fix randconfig build errors 2014-03-05 14:40:04 -06:00
host.c dwc3: host: Enable USB3 LPM capability 2014-07-09 15:41:34 -07:00
io.h usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
Kconfig dwc3: host: Enable USB3 LPM capability 2014-07-09 15:41:34 -07:00
Makefile usb: dwc3: add Keystone specific glue layer 2013-12-12 13:43:07 -06:00
platform_data.h usb: dwc3: adapt to use dr_mode device tree helper 2013-07-29 13:56:51 +03:00