projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9b76fd
)
clk: stm32mp1: fix bit width of hse_rtc divider
author
Gabriel Fernandez
<gabriel.fernandez@st.com>
Thu, 14 Feb 2019 10:40:47 +0000
(11:40 +0100)
committer
Stephen Boyd
<sboyd@kernel.org>
Thu, 21 Feb 2019 22:13:22 +0000
(14:13 -0800)
Fix the bit width of the hse rtc divider because it's off by one.
Fixes: 2c87c9d33117 ("clk: stm32mp1: add RTC clock")
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-stm32mp1.c
patch
|
blob
|
history
diff --git
a/drivers/clk/clk-stm32mp1.c
b/drivers/clk/clk-stm32mp1.c
index ca987632564e163390ab52e36181da8d6669689d..a0ae8dc1690905f2960b3ba42f2bb3185b156a36 100644
(file)
--- a/
drivers/clk/clk-stm32mp1.c
+++ b/
drivers/clk/clk-stm32mp1.c
@@
-1962,7
+1962,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,