X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Fipq806x%2Fpatches-4.9%2F0074-ipq806x-usb-Control-USB-master-reset.patch;fp=target%2Flinux%2Fipq806x%2Fpatches-4.9%2F0074-ipq806x-usb-Control-USB-master-reset.patch;h=516c7c06ce9932b84936129046a4c62e6d069700;hp=d5ff868291a599340b898a84b86169395d91fde4;hb=d8565a06dc01b55ed1018d571e655c122b9d2a33;hpb=9ddfac80155b899d1d2eca97dfae5a9e551e9abc diff --git a/target/linux/ipq806x/patches-4.9/0074-ipq806x-usb-Control-USB-master-reset.patch b/target/linux/ipq806x/patches-4.9/0074-ipq806x-usb-Control-USB-master-reset.patch index d5ff868291..516c7c06ce 100644 --- a/target/linux/ipq806x/patches-4.9/0074-ipq806x-usb-Control-USB-master-reset.patch +++ b/target/linux/ipq806x/patches-4.9/0074-ipq806x-usb-Control-USB-master-reset.patch @@ -16,8 +16,6 @@ Signed-off-by: Vasudevan Murugesan (limited to 'drivers/usb/dwc3/dwc3-of-simple.c') -diff --git a/drivers/usb/dwc3/dwc3-of-simple.c b/drivers/usb/dwc3/dwc3-of-simple.c -index f9e92ef..49bf556 100644 --- a/drivers/usb/dwc3/dwc3-of-simple.c +++ b/drivers/usb/dwc3/dwc3-of-simple.c @@ -26,6 +26,7 @@ @@ -36,10 +34,10 @@ index f9e92ef..49bf556 100644 + struct reset_control *mstr_rst_30_1; }; - static int dwc3_of_simple_probe(struct platform_device *pdev) -@@ -89,6 +92,20 @@ static int dwc3_of_simple_probe(struct platform_device *pdev) - simple->clks[i] = clk; - } + static int dwc3_of_simple_clk_init(struct dwc3_of_simple *simple, int count) +@@ -100,6 +103,20 @@ static int dwc3_of_simple_probe(struct p + if (ret) + return ret; + simple->mstr_rst_30_0 = devm_reset_control_get(dev, "usb30_0_mstr_rst"); + @@ -58,7 +56,7 @@ index f9e92ef..49bf556 100644 ret = of_platform_populate(np, NULL, NULL, dev); if (ret) { for (i = 0; i < simple->num_clocks; i++) { -@@ -117,6 +134,12 @@ static int dwc3_of_simple_remove(struct platform_device *pdev) +@@ -128,6 +145,12 @@ static int dwc3_of_simple_remove(struct clk_put(simple->clks[i]); } @@ -71,5 +69,3 @@ index f9e92ef..49bf556 100644 of_platform_depopulate(dev); pm_runtime_put_sync(dev); --- -cgit v1.1