diff options
author | Fabrice Gasnier <fabrice.gasnier@st.com> | 2017-02-15 09:04:32 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2017-04-27 09:25:03 +0100 |
commit | ae6816ba0f594edb194d108cfa0dedceb59fb0ff (patch) | |
tree | c98ec47fda680e2ff1f41a393b2831d5d531b791 /drivers/mfd/stm32-timers.c | |
parent | 118f6523793d99b3634455e9721836ea5e0592b9 (diff) | |
download | op-kernel-dev-ae6816ba0f594edb194d108cfa0dedceb59fb0ff.zip op-kernel-dev-ae6816ba0f594edb194d108cfa0dedceb59fb0ff.tar.gz |
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/stm32-timers.c')
-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 192cbb6..2182f00 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) |