Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1600450 > unrolled thread

Re: [PATCH] mfd: stm32-timers: fix max register

Started byLee Jones <lee.jones@linaro.org>
First post2017-03-14 15:10 +0100
Last post2017-03-14 15:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] mfd: stm32-timers: fix max register Lee Jones <lee.jones@linaro.org> - 2017-03-14 15:10 +0100

#1600450 — Re: [PATCH] mfd: stm32-timers: fix max register

FromLee Jones <lee.jones@linaro.org>
Date2017-03-14 15:10 +0100
SubjectRe: [PATCH] mfd: stm32-timers: fix max register
Message-ID<tkVjc-1eJ-27@gated-at.bofh.it>
On Wed, 15 Feb 2017, Fabrice Gasnier wrote:

> STM32 timers register bank size is 0x400. Fix regmap max_register.
> 
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
> ---
>  drivers/mfd/stm32-timers.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

> 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 @@
>  	.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)

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web