]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
had to delete 2 USB ehci patches that broke the build
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 May 2017 12:52:33 +0000 (14:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 May 2017 12:52:33 +0000 (14:52 +0200)
Dropped from 4.11, 4.9, and 4.4 queues.

queue-4.11/series
queue-4.11/usb-ehci-platform-fix-companion-device-leak.patch [deleted file]
queue-4.11/usb-host-ehci-platform-fix-usb-1.1-device-is-not-connected-in-system-resume.patch [deleted file]
queue-4.4/series
queue-4.4/usb-ehci-platform-fix-companion-device-leak.patch [deleted file]
queue-4.4/usb-host-ehci-platform-fix-usb-1.1-device-is-not-connected-in-system-resume.patch [deleted file]
queue-4.9/series
queue-4.9/usb-ehci-platform-fix-companion-device-leak.patch [deleted file]
queue-4.9/usb-host-ehci-platform-fix-usb-1.1-device-is-not-connected-in-system-resume.patch [deleted file]

index ac9fd697545ce25a0d46b456ff70a64c9e894079..995fe9ce545ca72918c7bb081f09b255ff1990c6 100644 (file)
@@ -98,8 +98,6 @@ dvb-usb-dibusb-mc-common-add-module_license.patch
 usb-dwc3-gadget-prevent-losing-events-in-event-cache.patch
 usb-musb-tusb6010_omap-do-not-reset-the-other-direction-s-packet-size.patch
 usb-musb-fix-trying-to-suspend-while-active-for-otg-configurations.patch
-usb-host-ehci-platform-fix-usb-1.1-device-is-not-connected-in-system-resume.patch
-usb-ehci-platform-fix-companion-device-leak.patch
 usb-iowarrior-fix-info-ioctl-on-big-endian-hosts.patch
 usb-serial-option-add-telit-me910-support.patch
 usb-serial-qcserial-add-more-lenovo-em74xx-device-ids.patch
diff --git a/queue-4.11/usb-ehci-platform-fix-companion-device-leak.patch b/queue-4.11/usb-ehci-platform-fix-companion-device-leak.patch
deleted file mode 100644 (file)
index 336f025..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-From a7415477a20448bbb7d13765784c0b29249a176f Mon Sep 17 00:00:00 2001
-From: Johan Hovold <johan@kernel.org>
-Date: Tue, 16 May 2017 16:26:13 +0200
-Subject: USB: ehci-platform: fix companion-device leak
-
-From: Johan Hovold <johan@kernel.org>
-
-commit a7415477a20448bbb7d13765784c0b29249a176f upstream.
-
-Make sure do drop the reference taken to the companion device during
-resume.
-
-Fixes: d4d75128b8fd ("usb: host: ehci-platform: fix usb 1.1 device is not connected in system resume")
-Signed-off-by: Johan Hovold <johan@kernel.org>
-Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
-Acked-by: Alan Stern <stern@rowland.harvard.edu>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- drivers/usb/host/ehci-platform.c |    4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
---- a/drivers/usb/host/ehci-platform.c
-+++ b/drivers/usb/host/ehci-platform.c
-@@ -381,8 +381,10 @@ static int ehci_platform_resume(struct d
-       }
-       companion_dev = usb_of_get_companion_dev(hcd->self.controller);
--      if (companion_dev)
-+      if (companion_dev) {
-               device_pm_wait_for_dev(hcd->self.controller, companion_dev);
-+              put_device(companion_dev);
-+      }
-       ehci_resume(hcd, priv->reset_on_resume);
-       return 0;
diff --git a/queue-4.11/usb-host-ehci-platform-fix-usb-1.1-device-is-not-connected-in-system-resume.patch b/queue-4.11/usb-host-ehci-platform-fix-usb-1.1-device-is-not-connected-in-system-resume.patch
deleted file mode 100644 (file)
index 73ec80a..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-From d4d75128b8fd727d42c775a16b41634d09409dba Mon Sep 17 00:00:00 2001
-From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
-Date: Tue, 21 Feb 2017 19:59:48 +0900
-Subject: usb: host: ehci-platform: fix usb 1.1 device is not connected in system resume
-
-From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
-
-commit d4d75128b8fd727d42c775a16b41634d09409dba upstream.
-
-This patch fixes an issue that a usb 1.1 device is not connected in
-system resume and then the following message appeared if debug messages
-are enabled:
-       usb 2-1: Waited 2000ms for CONNECT
-
-To resolve this issue, the EHCI controller must be resumed after its
-companion controllers. So, this patch adds such code on the driver.
-
-Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- drivers/usb/host/ehci-platform.c |    7 +++++++
- 1 file changed, 7 insertions(+)
-
---- a/drivers/usb/host/ehci-platform.c
-+++ b/drivers/usb/host/ehci-platform.c
-@@ -34,6 +34,7 @@
- #include <linux/usb.h>
- #include <linux/usb/hcd.h>
- #include <linux/usb/ehci_pdriver.h>
-+#include <linux/usb/of.h>
- #include "ehci.h"
-@@ -297,6 +298,7 @@ static int ehci_platform_probe(struct pl
-               goto err_power;
-       device_wakeup_enable(hcd->self.controller);
-+      device_enable_async_suspend(hcd->self.controller);
-       platform_set_drvdata(dev, hcd);
-       return err;
-@@ -370,6 +372,7 @@ static int ehci_platform_resume(struct d
-       struct usb_ehci_pdata *pdata = dev_get_platdata(dev);
-       struct platform_device *pdev = to_platform_device(dev);
-       struct ehci_platform_priv *priv = hcd_to_ehci_priv(hcd);
-+      struct device *companion_dev;
-       if (pdata->power_on) {
-               int err = pdata->power_on(pdev);
-@@ -377,6 +380,10 @@ static int ehci_platform_resume(struct d
-                       return err;
-       }
-+      companion_dev = usb_of_get_companion_dev(hcd->self.controller);
-+      if (companion_dev)
-+              device_pm_wait_for_dev(hcd->self.controller, companion_dev);
-+
-       ehci_resume(hcd, priv->reset_on_resume);
-       return 0;
- }
index 9f6038807c7e5818d508d0e2b2fb82f647f18101..cde9b7f405a5a308c602da4999897d6b66d7126b 100644 (file)
@@ -58,8 +58,6 @@ usbvision-fix-null-deref-at-probe.patch
 mceusb-fix-null-deref-at-probe.patch
 ttusb2-limit-messages-to-buffer-size.patch
 usb-musb-tusb6010_omap-do-not-reset-the-other-direction-s-packet-size.patch
-usb-host-ehci-platform-fix-usb-1.1-device-is-not-connected-in-system-resume.patch
-usb-ehci-platform-fix-companion-device-leak.patch
 usb-iowarrior-fix-info-ioctl-on-big-endian-hosts.patch
 usb-serial-option-add-telit-me910-support.patch
 usb-serial-qcserial-add-more-lenovo-em74xx-device-ids.patch
diff --git a/queue-4.4/usb-ehci-platform-fix-companion-device-leak.patch b/queue-4.4/usb-ehci-platform-fix-companion-device-leak.patch
deleted file mode 100644 (file)
index faee09b..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-From a7415477a20448bbb7d13765784c0b29249a176f Mon Sep 17 00:00:00 2001
-From: Johan Hovold <johan@kernel.org>
-Date: Tue, 16 May 2017 16:26:13 +0200
-Subject: USB: ehci-platform: fix companion-device leak
-
-From: Johan Hovold <johan@kernel.org>
-
-commit a7415477a20448bbb7d13765784c0b29249a176f upstream.
-
-Make sure do drop the reference taken to the companion device during
-resume.
-
-Fixes: d4d75128b8fd ("usb: host: ehci-platform: fix usb 1.1 device is not connected in system resume")
-Signed-off-by: Johan Hovold <johan@kernel.org>
-Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
-Acked-by: Alan Stern <stern@rowland.harvard.edu>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- drivers/usb/host/ehci-platform.c |    4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
---- a/drivers/usb/host/ehci-platform.c
-+++ b/drivers/usb/host/ehci-platform.c
-@@ -378,8 +378,10 @@ static int ehci_platform_resume(struct d
-       }
-       companion_dev = usb_of_get_companion_dev(hcd->self.controller);
--      if (companion_dev)
-+      if (companion_dev) {
-               device_pm_wait_for_dev(hcd->self.controller, companion_dev);
-+              put_device(companion_dev);
-+      }
-       ehci_resume(hcd, priv->reset_on_resume);
-       return 0;
diff --git a/queue-4.4/usb-host-ehci-platform-fix-usb-1.1-device-is-not-connected-in-system-resume.patch b/queue-4.4/usb-host-ehci-platform-fix-usb-1.1-device-is-not-connected-in-system-resume.patch
deleted file mode 100644 (file)
index 02e42ef..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-From d4d75128b8fd727d42c775a16b41634d09409dba Mon Sep 17 00:00:00 2001
-From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
-Date: Tue, 21 Feb 2017 19:59:48 +0900
-Subject: usb: host: ehci-platform: fix usb 1.1 device is not connected in system resume
-
-From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
-
-commit d4d75128b8fd727d42c775a16b41634d09409dba upstream.
-
-This patch fixes an issue that a usb 1.1 device is not connected in
-system resume and then the following message appeared if debug messages
-are enabled:
-       usb 2-1: Waited 2000ms for CONNECT
-
-To resolve this issue, the EHCI controller must be resumed after its
-companion controllers. So, this patch adds such code on the driver.
-
-Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- drivers/usb/host/ehci-platform.c |    7 +++++++
- 1 file changed, 7 insertions(+)
-
---- a/drivers/usb/host/ehci-platform.c
-+++ b/drivers/usb/host/ehci-platform.c
-@@ -34,6 +34,7 @@
- #include <linux/usb.h>
- #include <linux/usb/hcd.h>
- #include <linux/usb/ehci_pdriver.h>
-+#include <linux/usb/of.h>
- #include "ehci.h"
-@@ -292,6 +293,7 @@ static int ehci_platform_probe(struct pl
-               goto err_power;
-       device_wakeup_enable(hcd->self.controller);
-+      device_enable_async_suspend(hcd->self.controller);
-       platform_set_drvdata(dev, hcd);
-       return err;
-@@ -367,6 +369,7 @@ static int ehci_platform_resume(struct d
-       struct platform_device *pdev =
-               container_of(dev, struct platform_device, dev);
-       struct ehci_platform_priv *priv = hcd_to_ehci_priv(hcd);
-+      struct device *companion_dev;
-       if (pdata->power_on) {
-               int err = pdata->power_on(pdev);
-@@ -374,6 +377,10 @@ static int ehci_platform_resume(struct d
-                       return err;
-       }
-+      companion_dev = usb_of_get_companion_dev(hcd->self.controller);
-+      if (companion_dev)
-+              device_pm_wait_for_dev(hcd->self.controller, companion_dev);
-+
-       ehci_resume(hcd, priv->reset_on_resume);
-       return 0;
- }
index c94beba73e8c50713834ee5e757b82d219d51c57..e411dc204e01c106599d9290f558e1ca21cc173b 100644 (file)
@@ -87,8 +87,6 @@ dvb-usb-dibusb-mc-common-add-module_license.patch
 usb-dwc3-gadget-prevent-losing-events-in-event-cache.patch
 usb-musb-tusb6010_omap-do-not-reset-the-other-direction-s-packet-size.patch
 usb-musb-fix-trying-to-suspend-while-active-for-otg-configurations.patch
-usb-host-ehci-platform-fix-usb-1.1-device-is-not-connected-in-system-resume.patch
-usb-ehci-platform-fix-companion-device-leak.patch
 usb-iowarrior-fix-info-ioctl-on-big-endian-hosts.patch
 usb-serial-option-add-telit-me910-support.patch
 usb-serial-qcserial-add-more-lenovo-em74xx-device-ids.patch
diff --git a/queue-4.9/usb-ehci-platform-fix-companion-device-leak.patch b/queue-4.9/usb-ehci-platform-fix-companion-device-leak.patch
deleted file mode 100644 (file)
index 336f025..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-From a7415477a20448bbb7d13765784c0b29249a176f Mon Sep 17 00:00:00 2001
-From: Johan Hovold <johan@kernel.org>
-Date: Tue, 16 May 2017 16:26:13 +0200
-Subject: USB: ehci-platform: fix companion-device leak
-
-From: Johan Hovold <johan@kernel.org>
-
-commit a7415477a20448bbb7d13765784c0b29249a176f upstream.
-
-Make sure do drop the reference taken to the companion device during
-resume.
-
-Fixes: d4d75128b8fd ("usb: host: ehci-platform: fix usb 1.1 device is not connected in system resume")
-Signed-off-by: Johan Hovold <johan@kernel.org>
-Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
-Acked-by: Alan Stern <stern@rowland.harvard.edu>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- drivers/usb/host/ehci-platform.c |    4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
---- a/drivers/usb/host/ehci-platform.c
-+++ b/drivers/usb/host/ehci-platform.c
-@@ -381,8 +381,10 @@ static int ehci_platform_resume(struct d
-       }
-       companion_dev = usb_of_get_companion_dev(hcd->self.controller);
--      if (companion_dev)
-+      if (companion_dev) {
-               device_pm_wait_for_dev(hcd->self.controller, companion_dev);
-+              put_device(companion_dev);
-+      }
-       ehci_resume(hcd, priv->reset_on_resume);
-       return 0;
diff --git a/queue-4.9/usb-host-ehci-platform-fix-usb-1.1-device-is-not-connected-in-system-resume.patch b/queue-4.9/usb-host-ehci-platform-fix-usb-1.1-device-is-not-connected-in-system-resume.patch
deleted file mode 100644 (file)
index 73ec80a..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-From d4d75128b8fd727d42c775a16b41634d09409dba Mon Sep 17 00:00:00 2001
-From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
-Date: Tue, 21 Feb 2017 19:59:48 +0900
-Subject: usb: host: ehci-platform: fix usb 1.1 device is not connected in system resume
-
-From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
-
-commit d4d75128b8fd727d42c775a16b41634d09409dba upstream.
-
-This patch fixes an issue that a usb 1.1 device is not connected in
-system resume and then the following message appeared if debug messages
-are enabled:
-       usb 2-1: Waited 2000ms for CONNECT
-
-To resolve this issue, the EHCI controller must be resumed after its
-companion controllers. So, this patch adds such code on the driver.
-
-Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- drivers/usb/host/ehci-platform.c |    7 +++++++
- 1 file changed, 7 insertions(+)
-
---- a/drivers/usb/host/ehci-platform.c
-+++ b/drivers/usb/host/ehci-platform.c
-@@ -34,6 +34,7 @@
- #include <linux/usb.h>
- #include <linux/usb/hcd.h>
- #include <linux/usb/ehci_pdriver.h>
-+#include <linux/usb/of.h>
- #include "ehci.h"
-@@ -297,6 +298,7 @@ static int ehci_platform_probe(struct pl
-               goto err_power;
-       device_wakeup_enable(hcd->self.controller);
-+      device_enable_async_suspend(hcd->self.controller);
-       platform_set_drvdata(dev, hcd);
-       return err;
-@@ -370,6 +372,7 @@ static int ehci_platform_resume(struct d
-       struct usb_ehci_pdata *pdata = dev_get_platdata(dev);
-       struct platform_device *pdev = to_platform_device(dev);
-       struct ehci_platform_priv *priv = hcd_to_ehci_priv(hcd);
-+      struct device *companion_dev;
-       if (pdata->power_on) {
-               int err = pdata->power_on(pdev);
-@@ -377,6 +380,10 @@ static int ehci_platform_resume(struct d
-                       return err;
-       }
-+      companion_dev = usb_of_get_companion_dev(hcd->self.controller);
-+      if (companion_dev)
-+              device_pm_wait_for_dev(hcd->self.controller, companion_dev);
-+
-       ehci_resume(hcd, priv->reset_on_resume);
-       return 0;
- }