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

index 6c143069ae424c3fef5b0bdf6c029d3b4a1bc39c..ca4157b1d4d3593e5f4f050d78ca2e2df546ad8c 100644 (file)
@@ -19,9 +19,7 @@ usb-typec-ucsi-fix-role-swapping.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-5.4/usb-dwc3-core-only-handle-soft-reset-in-dctl.patch b/queue-5.4/usb-dwc3-core-only-handle-soft-reset-in-dctl.patch
deleted file mode 100644 (file)
index 2b34759..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
-@@ -255,7 +255,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);
-       /*
-        * For DWC_usb31 controller 1.90a and later, the DCTL.CSFRST bit
diff --git a/queue-5.4/usb-phy-generic-get-the-vbus-supply.patch b/queue-5.4/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";