diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2022-09-17 15:27:04 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-09-17 16:52:02 +0200 |
commit | 8e5de897691a359d849fe97a7e235537f4f9cc14 (patch) | |
tree | d4e744a61ec4d6eb06ebde0e57590505806dc8bb /target/linux/layerscape/patches-5.4/820-usb-0009-usb-dwc3-Add-workaround-for-host-mode-VBUS-glitch-wh.patch | |
parent | 44ce70f0e209c12cc9548d5fa60890997a2707f2 (diff) | |
download | upstream-8e5de897691a359d849fe97a7e235537f4f9cc14.tar.gz upstream-8e5de897691a359d849fe97a7e235537f4f9cc14.tar.bz2 upstream-8e5de897691a359d849fe97a7e235537f4f9cc14.zip |
kernel: bump 5.4 to 5.4.213
Manually adapted:
layerscape/patches-5.4/820-usb-0009-usb-dwc3-Add-workaround-for-host-mode-VBUS-glitch-wh.patch
Compile-tested: x86/64
Run-tested: x86/64
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/layerscape/patches-5.4/820-usb-0009-usb-dwc3-Add-workaround-for-host-mode-VBUS-glitch-wh.patch')
-rw-r--r-- | target/linux/layerscape/patches-5.4/820-usb-0009-usb-dwc3-Add-workaround-for-host-mode-VBUS-glitch-wh.patch | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/target/linux/layerscape/patches-5.4/820-usb-0009-usb-dwc3-Add-workaround-for-host-mode-VBUS-glitch-wh.patch b/target/linux/layerscape/patches-5.4/820-usb-0009-usb-dwc3-Add-workaround-for-host-mode-VBUS-glitch-wh.patch index 82e2a25e2d..60b110ad58 100644 --- a/target/linux/layerscape/patches-5.4/820-usb-0009-usb-dwc3-Add-workaround-for-host-mode-VBUS-glitch-wh.patch +++ b/target/linux/layerscape/patches-5.4/820-usb-0009-usb-dwc3-Add-workaround-for-host-mode-VBUS-glitch-wh.patch @@ -32,7 +32,7 @@ Reviewed-by: Peter Chen <peter.chen@nxp.com> --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c -@@ -1364,6 +1364,9 @@ static void dwc3_get_properties(struct d +@@ -1365,6 +1365,9 @@ static void dwc3_get_properties(struct d dwc->dis_split_quirk = device_property_read_bool(dev, "snps,dis-split-quirk"); @@ -64,15 +64,10 @@ Reviewed-by: Peter Chen <peter.chen@nxp.com> --- a/drivers/usb/dwc3/host.c +++ b/drivers/usb/dwc3/host.c -@@ -9,8 +9,49 @@ - - #include <linux/platform_device.h> - -+#include "../host/xhci.h" -+ - #include "core.h" +@@ -16,6 +16,44 @@ static const struct xhci_plat_priv dwc3_ + .quirks = XHCI_SKIP_PHY_INIT, + }; -+ +#define XHCI_HCSPARAMS1 0x4 +#define XHCI_PORTSC_BASE 0x400 + @@ -114,7 +109,7 @@ Reviewed-by: Peter Chen <peter.chen@nxp.com> static int dwc3_host_get_irq(struct dwc3 *dwc) { struct platform_device *dwc3_pdev = to_platform_device(dwc->dev); -@@ -50,6 +91,13 @@ int dwc3_host_init(struct dwc3 *dwc) +@@ -55,6 +93,13 @@ int dwc3_host_init(struct dwc3 *dwc) struct platform_device *dwc3_pdev = to_platform_device(dwc->dev); int prop_idx = 0; |