Message ID | 20190212135154.2733-8-gabriel.fernandez@st.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | update STM32MP1 clocks | expand |
Quoting gabriel.fernandez@st.com (2019-02-12 05:51:54) > From: Gabriel Fernandez <gabriel.fernandez@st.com> > > This patch fixes the bit width of the hse rtc divider. Fixes tag? Also, commit text shouldn't be written with "this patch". It should say something more like "Fix the bit width of the hse rtc divider because it's off by one".
diff --git a/drivers/clk/clk-stm32mp1.c b/drivers/clk/clk-stm32mp1.c index 6c99950c6135..fc75cf12f0e5 100644 --- a/drivers/clk/clk-stm32mp1.c +++ b/drivers/clk/clk-stm32mp1.c @@ -1961,7 +1961,7 @@ static const struct clock_config stm32mp1_clock_cfg[] = { _DIV(RCC_ETHCKSELR, 4, 4, 0, NULL)), /* RTC clock */ - DIV(NO_ID, "ck_hse_rtc", "ck_hse", 0, RCC_RTCDIVR, 0, 7, 0), + DIV(NO_ID, "ck_hse_rtc", "ck_hse", 0, RCC_RTCDIVR, 0, 6, 0), COMPOSITE(RTC, "ck_rtc", rtc_src, CLK_OPS_PARENT_ENABLE | CLK_SET_RATE_PARENT,