Author: blogic Date: 2015-08-17 18:10:49 +0200 (Mon, 17 Aug 2015) New Revision: 46676
Modified: trunk/target/linux/at91/patches/201-ARM-at91-usb-determine_rate-backport.patch Log: at91: fix usb rate backport patch tab mangle The patch submitted in [46649] was mangled in the use of gmails webmail interface, tabs replaced with spaces, resulting in a patch which dit not apply. This should fix the issue, sorry for the noise. Signed-off-by: Ben Whitten <[email protected]> Modified: trunk/target/linux/at91/patches/201-ARM-at91-usb-determine_rate-backport.patch =================================================================== --- trunk/target/linux/at91/patches/201-ARM-at91-usb-determine_rate-backport.patch 2015-08-17 13:19:01 UTC (rev 46675) +++ trunk/target/linux/at91/patches/201-ARM-at91-usb-determine_rate-backport.patch 2015-08-17 16:10:49 UTC (rev 46676) @@ -2,19 +2,19 @@ +++ b/drivers/clk/at91/clk-usb.c @@ -59,7 +59,7 @@ static unsigned long at91sam9x5_clk_usb_ static long at91sam9x5_clk_usb_determine_rate(struct clk_hw *hw, - unsigned long rate, - unsigned long *best_parent_rate, -- struct clk_hw **best_parent_hw) -+ struct clk **best_parent_clk) + unsigned long rate, + unsigned long *best_parent_rate, +- struct clk_hw **best_parent_hw) ++ struct clk **best_parent_clk) { - struct clk *parent = NULL; - long best_rate = -EINVAL; + struct clk *parent = NULL; + long best_rate = -EINVAL; @@ -91,7 +91,7 @@ static long at91sam9x5_clk_usb_determine - best_rate = tmp_rate; - best_diff = tmp_diff; - *best_parent_rate = tmp_parent_rate; -- *best_parent_hw = __clk_get_hw(parent); -+ *best_parent_clk = parent; - } - - if (!best_diff || tmp_rate < rate) + best_rate = tmp_rate; + best_diff = tmp_diff; + *best_parent_rate = tmp_parent_rate; +- *best_parent_hw = __clk_get_hw(parent); ++ *best_parent_clk = parent; + } + + if (!best_diff || tmp_rate < rate) _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
