]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop some broken usb patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 1 May 2022 16:43:34 +0000 (18:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 1 May 2022 16:43:34 +0000 (18:43 +0200)
queue-4.14/series
queue-4.14/usb-dwc3-core-only-handle-soft-reset-in-dctl.patch [deleted file]
queue-4.14/usb-phy-generic-get-the-vbus-supply.patch [deleted file]
queue-4.19/series
queue-4.19/usb-dwc3-core-only-handle-soft-reset-in-dctl.patch [deleted file]
queue-4.19/usb-phy-generic-get-the-vbus-supply.patch [deleted file]
queue-4.9/series
queue-4.9/usb-dwc3-core-only-handle-soft-reset-in-dctl.patch [deleted file]
queue-4.9/usb-phy-generic-get-the-vbus-supply.patch [deleted file]

index 2c7411f45b624ef46661429517a2a4b5c4f61116..ed5f47fee844159c984c97760901d81527ddae78 100644 (file)
@@ -18,7 +18,5 @@ iio-magnetometer-ak8975-fix-the-error-handling-in-ak8975_power_on.patch
 usb-misc-fix-improper-handling-of-refcount-in-uss720_probe.patch
 usb-gadget-uvc-fix-crash-when-encoding-data-for-usb-request.patch
 usb-gadget-configfs-clear-deactivation-flag-in-configfs_composite_unbind.patch
-usb-dwc3-core-only-handle-soft-reset-in-dctl.patch
-usb-phy-generic-get-the-vbus-supply.patch
 serial-8250-also-set-sticky-mcr-bits-in-console-restoration.patch
 serial-8250-correct-the-clock-for-endrun-ptp-1588-pcie-device.patch
diff --git a/queue-4.14/usb-dwc3-core-only-handle-soft-reset-in-dctl.patch b/queue-4.14/usb-dwc3-core-only-handle-soft-reset-in-dctl.patch
deleted file mode 100644 (file)
index ed9007e..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-From f4fd84ae0765a80494b28c43b756a95100351a94 Mon Sep 17 00:00:00 2001
-From: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
-Date: Thu, 21 Apr 2022 19:33:56 -0700
-Subject: usb: dwc3: core: Only handle soft-reset in DCTL
-
-From: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
-
-commit f4fd84ae0765a80494b28c43b756a95100351a94 upstream.
-
-Make sure not to set run_stop bit or link state change request while
-initiating soft-reset. Register read-modify-write operation may
-unintentionally start the controller before the initialization completes
-with its previous DCTL value, which can cause initialization failure.
-
-Fixes: f59dcab17629 ("usb: dwc3: core: improve reset sequence")
-Cc: <stable@vger.kernel.org>
-Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
-Link: https://lore.kernel.org/r/6aecbd78328f102003d40ccf18ceeebd411d3703.1650594792.git.Thinh.Nguyen@synopsys.com
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/usb/dwc3/core.c |    3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/drivers/usb/dwc3/core.c
-+++ b/drivers/usb/dwc3/core.c
-@@ -238,7 +238,8 @@ static int dwc3_core_soft_reset(struct d
-       reg = dwc3_readl(dwc->regs, DWC3_DCTL);
-       reg |= DWC3_DCTL_CSFTRST;
--      dwc3_writel(dwc->regs, DWC3_DCTL, reg);
-+      reg &= ~DWC3_DCTL_RUN_STOP;
-+      dwc3_gadget_dctl_write_safe(dwc, reg);
-       do {
-               reg = dwc3_readl(dwc->regs, DWC3_DCTL);
diff --git a/queue-4.14/usb-phy-generic-get-the-vbus-supply.patch b/queue-4.14/usb-phy-generic-get-the-vbus-supply.patch
deleted file mode 100644 (file)
index e14777e..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-From 03e607cbb2931374db1825f371e9c7f28526d3f4 Mon Sep 17 00:00:00 2001
-From: Sean Anderson <sean.anderson@seco.com>
-Date: Mon, 25 Apr 2022 13:14:09 -0400
-Subject: usb: phy: generic: Get the vbus supply
-
-From: Sean Anderson <sean.anderson@seco.com>
-
-commit 03e607cbb2931374db1825f371e9c7f28526d3f4 upstream.
-
-While support for working with a vbus was added, the regulator was never
-actually gotten (despite what was documented). Fix this by actually
-getting the supply from the device tree.
-
-Fixes: 7acc9973e3c4 ("usb: phy: generic: add vbus support")
-Cc: stable <stable@kernel.org>
-Signed-off-by: Sean Anderson <sean.anderson@seco.com>
-Link: https://lore.kernel.org/r/20220425171412.1188485-3-sean.anderson@seco.com
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/usb/phy/phy-generic.c |    7 +++++++
- 1 file changed, 7 insertions(+)
-
---- a/drivers/usb/phy/phy-generic.c
-+++ b/drivers/usb/phy/phy-generic.c
-@@ -293,6 +293,13 @@ int usb_phy_gen_create_phy(struct device
-                       return -EPROBE_DEFER;
-       }
-+      nop->vbus_draw = devm_regulator_get_exclusive(dev, "vbus");
-+      if (PTR_ERR(nop->vbus_draw) == -ENODEV)
-+              nop->vbus_draw = NULL;
-+      if (IS_ERR(nop->vbus_draw))
-+              return dev_err_probe(dev, PTR_ERR(nop->vbus_draw),
-+                                   "could not get vbus regulator\n");
-+
-       nop->dev                = dev;
-       nop->phy.dev            = nop->dev;
-       nop->phy.label          = "nop-xceiv";
index c807e3b4ce314b77c76c3d20210f0731424d3d47..50cfadbdcc6fa075cbabaebd19581e48722de07d 100644 (file)
@@ -13,9 +13,7 @@ usb-misc-fix-improper-handling-of-refcount-in-uss720_probe.patch
 usb-gadget-uvc-fix-crash-when-encoding-data-for-usb-request.patch
 usb-gadget-configfs-clear-deactivation-flag-in-configfs_composite_unbind.patch
 usb-dwc3-core-fix-tx-rx-threshold-settings.patch
-usb-dwc3-core-only-handle-soft-reset-in-dctl.patch
 usb-dwc3-gadget-return-proper-request-status.patch
-usb-phy-generic-get-the-vbus-supply.patch
 serial-imx-fix-overrun-interrupts-in-dma-mode.patch
 serial-8250-also-set-sticky-mcr-bits-in-console-restoration.patch
 serial-8250-correct-the-clock-for-endrun-ptp-1588-pcie-device.patch
diff --git a/queue-4.19/usb-dwc3-core-only-handle-soft-reset-in-dctl.patch b/queue-4.19/usb-dwc3-core-only-handle-soft-reset-in-dctl.patch
deleted file mode 100644 (file)
index c87526f..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-From f4fd84ae0765a80494b28c43b756a95100351a94 Mon Sep 17 00:00:00 2001
-From: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
-Date: Thu, 21 Apr 2022 19:33:56 -0700
-Subject: usb: dwc3: core: Only handle soft-reset in DCTL
-
-From: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
-
-commit f4fd84ae0765a80494b28c43b756a95100351a94 upstream.
-
-Make sure not to set run_stop bit or link state change request while
-initiating soft-reset. Register read-modify-write operation may
-unintentionally start the controller before the initialization completes
-with its previous DCTL value, which can cause initialization failure.
-
-Fixes: f59dcab17629 ("usb: dwc3: core: improve reset sequence")
-Cc: <stable@vger.kernel.org>
-Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
-Link: https://lore.kernel.org/r/6aecbd78328f102003d40ccf18ceeebd411d3703.1650594792.git.Thinh.Nguyen@synopsys.com
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/usb/dwc3/core.c |    3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/drivers/usb/dwc3/core.c
-+++ b/drivers/usb/dwc3/core.c
-@@ -249,7 +249,8 @@ static int dwc3_core_soft_reset(struct d
-       reg = dwc3_readl(dwc->regs, DWC3_DCTL);
-       reg |= DWC3_DCTL_CSFTRST;
--      dwc3_writel(dwc->regs, DWC3_DCTL, reg);
-+      reg &= ~DWC3_DCTL_RUN_STOP;
-+      dwc3_gadget_dctl_write_safe(dwc, reg);
-       do {
-               reg = dwc3_readl(dwc->regs, DWC3_DCTL);
diff --git a/queue-4.19/usb-phy-generic-get-the-vbus-supply.patch b/queue-4.19/usb-phy-generic-get-the-vbus-supply.patch
deleted file mode 100644 (file)
index e9cbc05..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-From 03e607cbb2931374db1825f371e9c7f28526d3f4 Mon Sep 17 00:00:00 2001
-From: Sean Anderson <sean.anderson@seco.com>
-Date: Mon, 25 Apr 2022 13:14:09 -0400
-Subject: usb: phy: generic: Get the vbus supply
-
-From: Sean Anderson <sean.anderson@seco.com>
-
-commit 03e607cbb2931374db1825f371e9c7f28526d3f4 upstream.
-
-While support for working with a vbus was added, the regulator was never
-actually gotten (despite what was documented). Fix this by actually
-getting the supply from the device tree.
-
-Fixes: 7acc9973e3c4 ("usb: phy: generic: add vbus support")
-Cc: stable <stable@kernel.org>
-Signed-off-by: Sean Anderson <sean.anderson@seco.com>
-Link: https://lore.kernel.org/r/20220425171412.1188485-3-sean.anderson@seco.com
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/usb/phy/phy-generic.c |    7 +++++++
- 1 file changed, 7 insertions(+)
-
---- a/drivers/usb/phy/phy-generic.c
-+++ b/drivers/usb/phy/phy-generic.c
-@@ -283,6 +283,13 @@ int usb_phy_gen_create_phy(struct device
-                       return -EPROBE_DEFER;
-       }
-+      nop->vbus_draw = devm_regulator_get_exclusive(dev, "vbus");
-+      if (PTR_ERR(nop->vbus_draw) == -ENODEV)
-+              nop->vbus_draw = NULL;
-+      if (IS_ERR(nop->vbus_draw))
-+              return dev_err_probe(dev, PTR_ERR(nop->vbus_draw),
-+                                   "could not get vbus regulator\n");
-+
-       nop->dev                = dev;
-       nop->phy.dev            = nop->dev;
-       nop->phy.label          = "nop-xceiv";
index 158626a91c2ba9dfdcc3fd23deb3d18cd51b56c5..fbdded27b92dc762b199d1a215d25128bd590f2b 100644 (file)
@@ -14,7 +14,5 @@ iio-magnetometer-ak8975-fix-the-error-handling-in-ak8975_power_on.patch
 usb-misc-fix-improper-handling-of-refcount-in-uss720_probe.patch
 usb-gadget-uvc-fix-crash-when-encoding-data-for-usb-request.patch
 usb-gadget-configfs-clear-deactivation-flag-in-configfs_composite_unbind.patch
-usb-dwc3-core-only-handle-soft-reset-in-dctl.patch
-usb-phy-generic-get-the-vbus-supply.patch
 serial-8250-also-set-sticky-mcr-bits-in-console-restoration.patch
 serial-8250-correct-the-clock-for-endrun-ptp-1588-pcie-device.patch
diff --git a/queue-4.9/usb-dwc3-core-only-handle-soft-reset-in-dctl.patch b/queue-4.9/usb-dwc3-core-only-handle-soft-reset-in-dctl.patch
deleted file mode 100644 (file)
index d13c872..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-From f4fd84ae0765a80494b28c43b756a95100351a94 Mon Sep 17 00:00:00 2001
-From: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
-Date: Thu, 21 Apr 2022 19:33:56 -0700
-Subject: usb: dwc3: core: Only handle soft-reset in DCTL
-
-From: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
-
-commit f4fd84ae0765a80494b28c43b756a95100351a94 upstream.
-
-Make sure not to set run_stop bit or link state change request while
-initiating soft-reset. Register read-modify-write operation may
-unintentionally start the controller before the initialization completes
-with its previous DCTL value, which can cause initialization failure.
-
-Fixes: f59dcab17629 ("usb: dwc3: core: improve reset sequence")
-Cc: <stable@vger.kernel.org>
-Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
-Link: https://lore.kernel.org/r/6aecbd78328f102003d40ccf18ceeebd411d3703.1650594792.git.Thinh.Nguyen@synopsys.com
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/usb/dwc3/core.c |    3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/drivers/usb/dwc3/core.c
-+++ b/drivers/usb/dwc3/core.c
-@@ -156,7 +156,8 @@ static int dwc3_core_soft_reset(struct d
-       reg = dwc3_readl(dwc->regs, DWC3_DCTL);
-       reg |= DWC3_DCTL_CSFTRST;
--      dwc3_writel(dwc->regs, DWC3_DCTL, reg);
-+      reg &= ~DWC3_DCTL_RUN_STOP;
-+      dwc3_gadget_dctl_write_safe(dwc, reg);
-       do {
-               reg = dwc3_readl(dwc->regs, DWC3_DCTL);
diff --git a/queue-4.9/usb-phy-generic-get-the-vbus-supply.patch b/queue-4.9/usb-phy-generic-get-the-vbus-supply.patch
deleted file mode 100644 (file)
index d0526c9..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-From 03e607cbb2931374db1825f371e9c7f28526d3f4 Mon Sep 17 00:00:00 2001
-From: Sean Anderson <sean.anderson@seco.com>
-Date: Mon, 25 Apr 2022 13:14:09 -0400
-Subject: usb: phy: generic: Get the vbus supply
-
-From: Sean Anderson <sean.anderson@seco.com>
-
-commit 03e607cbb2931374db1825f371e9c7f28526d3f4 upstream.
-
-While support for working with a vbus was added, the regulator was never
-actually gotten (despite what was documented). Fix this by actually
-getting the supply from the device tree.
-
-Fixes: 7acc9973e3c4 ("usb: phy: generic: add vbus support")
-Cc: stable <stable@kernel.org>
-Signed-off-by: Sean Anderson <sean.anderson@seco.com>
-Link: https://lore.kernel.org/r/20220425171412.1188485-3-sean.anderson@seco.com
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/usb/phy/phy-generic.c |    7 +++++++
- 1 file changed, 7 insertions(+)
-
---- a/drivers/usb/phy/phy-generic.c
-+++ b/drivers/usb/phy/phy-generic.c
-@@ -284,6 +284,13 @@ int usb_phy_gen_create_phy(struct device
-                       return -EPROBE_DEFER;
-       }
-+      nop->vbus_draw = devm_regulator_get_exclusive(dev, "vbus");
-+      if (PTR_ERR(nop->vbus_draw) == -ENODEV)
-+              nop->vbus_draw = NULL;
-+      if (IS_ERR(nop->vbus_draw))
-+              return dev_err_probe(dev, PTR_ERR(nop->vbus_draw),
-+                                   "could not get vbus regulator\n");
-+
-       nop->dev                = dev;
-       nop->phy.dev            = nop->dev;
-       nop->phy.label          = "nop-xceiv";