]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.14-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Oct 2014 23:41:03 +0000 (16:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Oct 2014 23:41:03 +0000 (16:41 -0700)
added patches:
usb-dwc3-omap-fix-ordering-for-runtime-pm-calls.patch

queue-3.14/series
queue-3.14/usb-dwc3-omap-fix-ordering-for-runtime-pm-calls.patch [new file with mode: 0644]

index b0224bb40191ad9a7fc955cd488ba054a9501047..b4245d13bb5239cca4ca955cbf9aea143682fd1a 100644 (file)
@@ -99,3 +99,4 @@ usb-storage-add-quirk-for-adaptec-usbconnect-2000-usb-to-scsi-adapter.patch
 usb-storage-add-quirk-for-ariston-technologies-iconnect-usb-to-scsi-adapter.patch
 usb-storage-add-quirks-for-entrega-xircom-usb-to-scsi-converters.patch
 usb-ehci-unlink-qhs-even-after-the-controller-has-stopped.patch
+usb-dwc3-omap-fix-ordering-for-runtime-pm-calls.patch
diff --git a/queue-3.14/usb-dwc3-omap-fix-ordering-for-runtime-pm-calls.patch b/queue-3.14/usb-dwc3-omap-fix-ordering-for-runtime-pm-calls.patch
new file mode 100644 (file)
index 0000000..b0d3e95
--- /dev/null
@@ -0,0 +1,33 @@
+From 81a60b7f5c143ab3cdcd9943c9b4b7c63c32fc31 Mon Sep 17 00:00:00 2001
+From: Felipe Balbi <balbi@ti.com>
+Date: Wed, 3 Sep 2014 16:42:57 -0500
+Subject: usb: dwc3: omap: fix ordering for runtime pm calls
+
+From: Felipe Balbi <balbi@ti.com>
+
+commit 81a60b7f5c143ab3cdcd9943c9b4b7c63c32fc31 upstream.
+
+we don't to gate clocks until our children are
+done with their remove path.
+
+Fixes: af310e9 (usb: dwc3: omap: use runtime API's to enable clocks)
+Signed-off-by: Felipe Balbi <balbi@ti.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/usb/dwc3/dwc3-omap.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/usb/dwc3/dwc3-omap.c
++++ b/drivers/usb/dwc3/dwc3-omap.c
+@@ -582,9 +582,9 @@ static int dwc3_omap_remove(struct platf
+       if (omap->extcon_id_dev.edev)
+               extcon_unregister_interest(&omap->extcon_id_dev);
+       dwc3_omap_disable_irqs(omap);
++      device_for_each_child(&pdev->dev, NULL, dwc3_omap_remove_core);
+       pm_runtime_put_sync(&pdev->dev);
+       pm_runtime_disable(&pdev->dev);
+-      device_for_each_child(&pdev->dev, NULL, dwc3_omap_remove_core);
+       return 0;
+ }