diff options
author | John Crispin <john@openwrt.org> | 2015-03-16 07:41:24 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-03-16 07:41:24 +0000 |
commit | c0a15a57bda510fac081d536013d16446baf6813 (patch) | |
tree | 941690d0c41e1342dbcdac9639e64605e230af51 /target/linux/sunxi/patches-3.14/275-clk-sunxi-late-clock-fixes.patch | |
parent | eb396d656911024685f1f514036aec091669211f (diff) | |
download | upstream-c0a15a57bda510fac081d536013d16446baf6813.tar.gz upstream-c0a15a57bda510fac081d536013d16446baf6813.tar.bz2 upstream-c0a15a57bda510fac081d536013d16446baf6813.zip |
sunxi: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44824
Diffstat (limited to 'target/linux/sunxi/patches-3.14/275-clk-sunxi-late-clock-fixes.patch')
-rw-r--r-- | target/linux/sunxi/patches-3.14/275-clk-sunxi-late-clock-fixes.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/target/linux/sunxi/patches-3.14/275-clk-sunxi-late-clock-fixes.patch b/target/linux/sunxi/patches-3.14/275-clk-sunxi-late-clock-fixes.patch deleted file mode 100644 index 5b0ca8d398..0000000000 --- a/target/linux/sunxi/patches-3.14/275-clk-sunxi-late-clock-fixes.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- a/drivers/clk/sunxi/clk-sunxi.c -+++ b/drivers/clk/sunxi/clk-sunxi.c -@@ -299,7 +299,7 @@ static void sun4i_get_apb1_factors(u32 * - if (parent_rate < *freq) - *freq = parent_rate; - -- parent_rate = (parent_rate + (*freq - 1)) / *freq; -+ parent_rate = DIV_ROUND_UP(parent_rate, *freq); - - /* Invalid rate! */ - if (parent_rate > 32) -@@ -344,7 +344,7 @@ static void sun4i_get_mod0_factors(u32 * - if (*freq > parent_rate) - *freq = parent_rate; - -- div = parent_rate / *freq; -+ div = DIV_ROUND_UP(parent_rate, *freq); - - if (div < 16) - calcp = 0; -@@ -385,7 +385,7 @@ static void sun7i_a20_get_out_factors(u3 - if (*freq > parent_rate) - *freq = parent_rate; - -- div = parent_rate / *freq; -+ div = DIV_ROUND_UP(parent_rate, *freq); - - if (div < 32) - calcp = 0; |