aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2022-11-28 21:05:54 +0100
committerChristian Marangi <ansuelsmth@gmail.com>2022-12-04 16:06:35 +0100
commit88e8ca256bc92765fcd34c7e371163ac38b623f6 (patch)
treec637080bc806c4c0ca22c9a62c13e6d15173f3a8 /target
parent40c0d28e84a548212f14749708b5b55ebfcb9b93 (diff)
downloadupstream-88e8ca256bc92765fcd34c7e371163ac38b623f6.tar.gz
upstream-88e8ca256bc92765fcd34c7e371163ac38b623f6.tar.bz2
upstream-88e8ca256bc92765fcd34c7e371163ac38b623f6.zip
layerscape: fix compilation error for missing define of dwc quirk
Add missing define for dwc quirk patch required to fix compilation error for layerscape target. This was wrongly dropped in a kernel bump. Fixes: 8e5de897691a ("kernel: bump 5.4 to 5.4.213") Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/layerscape/patches-5.4/820-usb-0009-usb-dwc3-Add-workaround-for-host-mode-VBUS-glitch-wh.patch8
1 files changed, 6 insertions, 2 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 0e2942a3bc..be6b077e0b 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
@@ -64,8 +64,12 @@ Reviewed-by: Peter Chen <peter.chen@nxp.com>
--- a/drivers/usb/dwc3/host.c
+++ b/drivers/usb/dwc3/host.c
-@@ -11,6 +11,44 @@
+@@ -9,8 +9,48 @@
+ #include <linux/platform_device.h>
+
++#include "../host/xhci.h"
++
#include "core.h"
+#define XHCI_HCSPARAMS1 0x4
@@ -109,7 +113,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 +88,13 @@ int dwc3_host_init(struct dwc3 *dwc)
+@@ -50,6 +90,13 @@ int dwc3_host_init(struct dwc3 *dwc)
struct platform_device *dwc3_pdev = to_platform_device(dwc->dev);
int prop_idx = 0;