diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-04-14 00:23:39 +0300 |
---|---|---|
committer | William Breathitt Gray <william.gray@linaro.org> | 2023-05-10 02:17:17 +0300 |
commit | 5272145d5cccd7cb73a8ce4b0b90c1c6b37a6a66 (patch) | |
tree | 5410018281f01bfb91052ed9c16834e5b8926d94 /tools | |
parent | a4ec431fbf6b9533d2bb21fa328d88c1436106cf (diff) | |
download | linux-5272145d5cccd7cb73a8ce4b0b90c1c6b37a6a66.tar.xz |
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: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Signed-off-by: Uwe 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: William Breathitt Gray <william.gray@linaro.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions