Skip to content
Commit 13955e86 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by William Breathitt Gray
Browse files

counter: stm32-timer-cnt: Reset TIM_TISEL to its default value in probe



The driver assumes that the input selection register (TIM_TISEL) is at
its reset default value. Usually this is the case, but the bootloader
might have modified it.

This bases on a similar patch submitted by Olivier Moysan for pwm-stm32.

Reviewed-by: default avatarFabrice Gasnier <fabrice.gasnier@foss.st.com>
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20230413212339.3611722-1-u.kleine-koenig@pengutronix.de/


Signed-off-by: default avatarWilliam Breathitt Gray <william.gray@linaro.org>
parent 0d0d36af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment