From: Greg Kroah-Hartman Date: Sun, 1 May 2022 16:45:23 +0000 (+0200) Subject: drop some 5.4 usb patches that do not build X-Git-Tag: v5.4.192~61 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a60f253860b41b8829d44bf00bed1663ea39a0d4;p=thirdparty%2Fkernel%2Fstable-queue.git drop some 5.4 usb patches that do not build --- diff --git a/queue-5.4/series b/queue-5.4/series index 6c143069ae4..ca4157b1d4d 100644 --- a/queue-5.4/series +++ b/queue-5.4/series @@ -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 index 2b34759adc7..00000000000 --- a/queue-5.4/usb-dwc3-core-only-handle-soft-reset-in-dctl.patch +++ /dev/null @@ -1,35 +0,0 @@ -From f4fd84ae0765a80494b28c43b756a95100351a94 Mon Sep 17 00:00:00 2001 -From: Thinh Nguyen -Date: Thu, 21 Apr 2022 19:33:56 -0700 -Subject: usb: dwc3: core: Only handle soft-reset in DCTL - -From: Thinh Nguyen - -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: -Signed-off-by: Thinh Nguyen -Link: https://lore.kernel.org/r/6aecbd78328f102003d40ccf18ceeebd411d3703.1650594792.git.Thinh.Nguyen@synopsys.com -Signed-off-by: Greg Kroah-Hartman ---- - 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 index e9cbc0576ba..00000000000 --- a/queue-5.4/usb-phy-generic-get-the-vbus-supply.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 03e607cbb2931374db1825f371e9c7f28526d3f4 Mon Sep 17 00:00:00 2001 -From: Sean Anderson -Date: Mon, 25 Apr 2022 13:14:09 -0400 -Subject: usb: phy: generic: Get the vbus supply - -From: Sean Anderson - -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 -Signed-off-by: Sean Anderson -Link: https://lore.kernel.org/r/20220425171412.1188485-3-sean.anderson@seco.com -Signed-off-by: Greg Kroah-Hartman ---- - 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";