From aac25bdba5cc324046074cbef3ca9a65b9145efc Mon Sep 17 00:00:00 2001 From: Martin Schiller Date: Fri, 5 Jul 2019 14:10:07 +0200 Subject: 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 [refresh patches, fix commit title] Signed-off-by: Mathias Kresin --- target/linux/cns3xxx/patches-4.19/210-dwc2_defaults.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/cns3xxx/patches-4.19/210-dwc2_defaults.patch') 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) { -- cgit v1.2.3