X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Flantiq%2Fpatches-5.10%2F0050-USB-DWC2-make-the-lantiq-settings-match-vendor-drive.patch;h=333a2e6377d5e66237b5957293ba15c6bd44ec8f;hp=d63d48ad1f683c830148f5072050653e4c1c482a;hb=0806f8fc80e602b88ac80a334dccf07e1334d416;hpb=e44e454ee65bb0631fbea64ea1e30b40735ed97b diff --git a/target/linux/lantiq/patches-5.10/0050-USB-DWC2-make-the-lantiq-settings-match-vendor-drive.patch b/target/linux/lantiq/patches-5.10/0050-USB-DWC2-make-the-lantiq-settings-match-vendor-drive.patch index d63d48ad1f..333a2e6377 100644 --- a/target/linux/lantiq/patches-5.10/0050-USB-DWC2-make-the-lantiq-settings-match-vendor-drive.patch +++ b/target/linux/lantiq/patches-5.10/0050-USB-DWC2-make-the-lantiq-settings-match-vendor-drive.patch @@ -24,7 +24,7 @@ Signed-off-by: Hauke Mehrtens --- a/drivers/usb/dwc2/params.c +++ b/drivers/usb/dwc2/params.c @@ -92,7 +92,14 @@ static void dwc2_set_rk_params(struct dw - p->power_down = 0; + p->power_down = DWC2_POWER_DOWN_PARAM_NONE; } -static void dwc2_set_ltq_params(struct dwc2_hsotg *hsotg) @@ -62,7 +62,7 @@ Signed-off-by: Hauke Mehrtens static void dwc2_set_amlogic_params(struct dwc2_hsotg *hsotg) { struct dwc2_core_params *p = &hsotg->params; -@@ -167,8 +182,11 @@ const struct of_device_id dwc2_of_match_ +@@ -196,8 +211,11 @@ const struct of_device_id dwc2_of_match_ { .compatible = "brcm,bcm2835-usb", .data = dwc2_set_bcm_params }, { .compatible = "hisilicon,hi6220-usb", .data = dwc2_set_his_params }, { .compatible = "rockchip,rk3066-usb", .data = dwc2_set_rk_params },