projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
118f652
)
mfd: stm32-timers: Fix max register
author
Fabrice Gasnier
<fabrice.gasnier@st.com>
Wed, 15 Feb 2017 08:04:32 +0000
(09:04 +0100)
committer
Lee Jones
<lee.jones@linaro.org>
Thu, 27 Apr 2017 08:25:03 +0000
(09:25 +0100)
STM32 timers register bank size is 0x400. Fix regmap max_register.
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Acked-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/stm32-timers.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/stm32-timers.c
b/drivers/mfd/stm32-timers.c
index 192cbb60fb094ad923fdcb4ab3ebfa5edb399246..2182f00db101fd1144d8a7f9a9d80318827e6f7c 100644
(file)
--- a/
drivers/mfd/stm32-timers.c
+++ b/
drivers/mfd/stm32-timers.c
@@
-15,7
+15,7
@@
static const struct regmap_config stm32_timers_regmap_cfg = {
.reg_bits = 32,
.val_bits = 32,
.reg_stride = sizeof(u32),
- .max_register = 0x
400
,
+ .max_register = 0x
3fc
,
};
static void stm32_timers_get_arr_size(struct stm32_timers *ddata)