]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
clk: mvebu: Fix ratio register offset on A375 SoC
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Wed, 12 Mar 2014 15:41:41 +0000 (12:41 -0300)
committerJason Cooper <jason@lakedaemon.net>
Thu, 13 Mar 2014 23:20:27 +0000 (23:20 +0000)
This commit fixes the ratio register offset which is 0x4,
as per the Armada 375 SoC specification.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Link: https://lkml.kernel.org/r/1394638901-13368-2-git-send-email-ezequiel.garcia@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/clk/mvebu/clk-corediv.c

index 4da60760be10dee758f4e7add4ee50703cc84694..4af33ba54a1eb02076638ccd5d14d8520da968ee 100644 (file)
@@ -213,7 +213,7 @@ static const struct clk_corediv_soc_desc armada375_corediv_soc = {
                .set_rate = clk_corediv_set_rate,
        },
        .ratio_reload = BIT(8),
-       .ratio_offset = 0x8,
+       .ratio_offset = 0x4,
 };
 
 static void __init