aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/cns3xxx
diff options
context:
space:
mode:
authorMartin Schiller <ms@dev.tdt.de>2019-07-05 14:10:07 +0200
committerMathias Kresin <dev@kresin.me>2019-07-07 11:17:34 +0200
commitaac25bdba5cc324046074cbef3ca9a65b9145efc (patch)
treea12bb3e341a0bd8325546ebeb1a5b42ae9a700b9 /target/linux/cns3xxx
parent92b768d5f436a0eab809082f294e54e0185c5961 (diff)
downloadupstream-aac25bdba5cc324046074cbef3ca9a65b9145efc.tar.gz
upstream-aac25bdba5cc324046074cbef3ca9a65b9145efc.tar.bz2
upstream-aac25bdba5cc324046074cbef3ca9a65b9145efc.zip
kernel: 4.19: Backport usb dwc2 lpm mode hw check
This patch backports verbatim the commit from Linux 5.2-rc7 that fixes the warnings about invalid lpm related parameters on hardware which don't that. This is the case for e.g. lantiq xrx200 targets. Supported only in Linux 4.17 an later. Signed-off-by: Martin Schiller <ms@dev.tdt.de> [refresh patches, fix commit title] Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/cns3xxx')
-rw-r--r--target/linux/cns3xxx/patches-4.19/210-dwc2_defaults.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/cns3xxx/patches-4.19/210-dwc2_defaults.patch b/target/linux/cns3xxx/patches-4.19/210-dwc2_defaults.patch
index 5a5b17d0a0..fcadd25a2a 100644
--- a/target/linux/cns3xxx/patches-4.19/210-dwc2_defaults.patch
+++ b/target/linux/cns3xxx/patches-4.19/210-dwc2_defaults.patch
@@ -37,7 +37,7 @@
const struct of_device_id dwc2_of_match_table[] = {
{ .compatible = "brcm,bcm2835-usb", .data = dwc2_set_bcm_params },
{ .compatible = "hisilicon,hi6220-usb", .data = dwc2_set_his_params },
-@@ -806,17 +836,23 @@ int dwc2_get_hwparams(struct dwc2_hsotg
+@@ -819,17 +849,23 @@ int dwc2_get_hwparams(struct dwc2_hsotg
int dwc2_init_params(struct dwc2_hsotg *hsotg)
{