From 373594fb4b8bafb77d93a3ef6e678006f9e25fd3 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 19 Jan 2016 10:15:04 +0000 Subject: at91: add 4.4 support This puts the existing patches and config in a 3.18 folder and introduces a 4.4 config and patches. The USB clock fix patch is no longer necessary, and the patches applying to non DT boards has been dropped as the platform has been converted. 4.4 config was generated by copying 3.18 and running make kernel_menuconfig, scripts/kconfig.pl filled in the gaps. Signed-off-by: Ben Whitten SVN-Revision: 48349 --- .../201-ARM-at91-usb-determine_rate-backport.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 target/linux/at91/patches-3.18/201-ARM-at91-usb-determine_rate-backport.patch (limited to 'target/linux/at91/patches-3.18/201-ARM-at91-usb-determine_rate-backport.patch') diff --git a/target/linux/at91/patches-3.18/201-ARM-at91-usb-determine_rate-backport.patch b/target/linux/at91/patches-3.18/201-ARM-at91-usb-determine_rate-backport.patch new file mode 100644 index 0000000000..d0836286bf --- /dev/null +++ b/target/linux/at91/patches-3.18/201-ARM-at91-usb-determine_rate-backport.patch @@ -0,0 +1,20 @@ +--- a/drivers/clk/at91/clk-usb.c ++++ 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) + { + 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) -- cgit v1.2.3