drivers: clk: st: Fix mux bit-setting for Cortex A9 clocks
authorGabriel Fernandez <gabriel.fernandez@linaro.org>
Tue, 23 Jun 2015 14:09:25 +0000 (16:09 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Mon, 6 Jul 2015 19:25:42 +0000 (12:25 -0700)
This patch fixes the mux bit-setting for ClockgenA9.

Signed-off-by: Gabriel Fernandez <gabriel.fernandez@linaro.org>
Fixes: 13e6f2da1ddf ("clk: st: STiH407: Support for A9 MUX Clocks")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/st/clkgen-mux.c

index bd30f8d4e9025d668aac36b509de0c7c66a75566..717c4a91a17b12643146eb028ed02dd0727eac50 100644 (file)
@@ -583,7 +583,7 @@ static struct clkgen_mux_data stih416_a9_mux_data = {
 };
 static struct clkgen_mux_data stih407_a9_mux_data = {
        .offset = 0x1a4,
-       .shift = 1,
+       .shift = 0,
        .width = 2,
 };