diff options
author | Fabrice Gasnier <fabrice.gasnier@st.com> | 2017-02-15 11:04:32 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2017-04-27 11:25:03 +0300 |
commit | ae6816ba0f594edb194d108cfa0dedceb59fb0ff (patch) | |
tree | c98ec47fda680e2ff1f41a393b2831d5d531b791 /drivers/mfd | |
parent | 118f6523793d99b3634455e9721836ea5e0592b9 (diff) | |
download | linux-ae6816ba0f594edb194d108cfa0dedceb59fb0ff.tar.xz |
mfd: stm32-timers: Fix max register
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>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/stm32-timers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/stm32-timers.c b/drivers/mfd/stm32-timers.c index 192cbb60fb09..2182f00db101 100644 --- 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 = 0x400, + .max_register = 0x3fc, }; static void stm32_timers_get_arr_size(struct stm32_timers *ddata) |