Browse Source

clk: mvebu: Fix ratio register offset on A375 SoC

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>
Ezequiel Garcia 11 years ago
parent
commit
8230a5ab43
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/clk/mvebu/clk-corediv.c

+ 1 - 1
drivers/clk/mvebu/clk-corediv.c

@@ -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