diff options
author | Zoltan Herpai <wigyori@uid0.hu> | 2014-09-21 15:42:36 +0000 |
---|---|---|
committer | Zoltan Herpai <wigyori@uid0.hu> | 2014-09-21 15:42:36 +0000 |
commit | cc60fad010d2970625987b2efa06c210eed0c380 (patch) | |
tree | 66e7f9d8c481358590fce8c862d13f4ddab3d523 /target/linux/sunxi/patches-3.13/102-clk-factors-clear-vars.patch | |
parent | c54e245b3f38beddae6564f1f182f21986dbf7b8 (diff) | |
download | upstream-cc60fad010d2970625987b2efa06c210eed0c380.tar.gz upstream-cc60fad010d2970625987b2efa06c210eed0c380.tar.bz2 upstream-cc60fad010d2970625987b2efa06c210eed0c380.zip |
sunxi: remove 3.13 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 42628
Diffstat (limited to 'target/linux/sunxi/patches-3.13/102-clk-factors-clear-vars.patch')
-rw-r--r-- | target/linux/sunxi/patches-3.13/102-clk-factors-clear-vars.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/target/linux/sunxi/patches-3.13/102-clk-factors-clear-vars.patch b/target/linux/sunxi/patches-3.13/102-clk-factors-clear-vars.patch deleted file mode 100644 index b1396d67f0..0000000000 --- a/target/linux/sunxi/patches-3.13/102-clk-factors-clear-vars.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 789bea92aba0256a7f5309992327df8729333750 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Emilio=20L=C3=B3pez?= <emilio@elopez.com.ar> -Date: Fri, 20 Sep 2013 22:03:11 -0300 -Subject: [PATCH] clk: sunxi: factors: clear variables before using them -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Random bits may get into our factors if we don't clear n, k, m and p. - -Signed-off-by: Emilio López <emilio@elopez.com.ar> -Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> ---- - drivers/clk/sunxi/clk-factors.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/drivers/clk/sunxi/clk-factors.c -+++ b/drivers/clk/sunxi/clk-factors.c -@@ -88,7 +88,7 @@ static long clk_factors_round_rate(struc - static int clk_factors_set_rate(struct clk_hw *hw, unsigned long rate, - unsigned long parent_rate) - { -- u8 n, k, m, p; -+ u8 n = 0, k = 0, m = 0, p = 0; - u32 reg; - struct clk_factors *factors = to_clk_factors(hw); - struct clk_factors_config *config = factors->config; |