diff mbox series

[4/7] clk: stm32mp1: fix mcu divider table

Message ID 20190212135154.2733-5-gabriel.fernandez@st.com (mailing list archive)
State New, archived
Headers show
Series update STM32MP1 clocks | expand

Commit Message

Gabriel FERNANDEZ Feb. 12, 2019, 1:51 p.m. UTC
From: Gabriel Fernandez <gabriel.fernandez@st.com>

index 8: ck_mcuss divided by 256 (not 512)

Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
---
 drivers/clk/clk-stm32mp1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stephen Boyd Feb. 13, 2019, 5:48 p.m. UTC | #1
Quoting gabriel.fernandez@st.com (2019-02-12 05:51:51)
> From: Gabriel Fernandez <gabriel.fernandez@st.com>
> 
> index 8: ck_mcuss divided by 256 (not 512)
> 
> Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>

Any Fixes tag?
diff mbox series

Patch

diff --git a/drivers/clk/clk-stm32mp1.c b/drivers/clk/clk-stm32mp1.c
index 5b30e4eeca2c..385dac678a7f 100644
--- a/drivers/clk/clk-stm32mp1.c
+++ b/drivers/clk/clk-stm32mp1.c
@@ -269,7 +269,7 @@  static const struct clk_div_table axi_div_table[] = {
 static const struct clk_div_table mcu_div_table[] = {
 	{ 0, 1 }, { 1, 2 }, { 2, 4 }, { 3, 8 },
 	{ 4, 16 }, { 5, 32 }, { 6, 64 }, { 7, 128 },
-	{ 8, 512 }, { 9, 512 }, { 10, 512}, { 11, 512 },
+	{ 8, 256 }, { 9, 512 }, { 10, 512}, { 11, 512 },
 	{ 12, 512 }, { 13, 512 }, { 14, 512}, { 15, 512 },
 	{ 0 },
 };