Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: stm32: Enable regmap fast_io for stm32-lptimer

Because stm32-lptimer need to write in registers in interrupt context
enable regmap fast_io to use a spin_lock to protect registers access
rather than a mutex.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Benjamin Gaignard and committed by
Lee Jones
45d93065 e0bcc58d

+1
+1
drivers/mfd/stm32-lptimer.c
··· 17 17 .val_bits = 32, 18 18 .reg_stride = sizeof(u32), 19 19 .max_register = STM32_LPTIM_MAX_REGISTER, 20 + .fast_io = true, 20 21 }; 21 22 22 23 static int stm32_lptimer_detect_encoder(struct stm32_lptimer *ddata)