Skip to content
Commit 25d49694 authored by Sean Nyekjaer's avatar Sean Nyekjaer Committed by Fabio Baltieri
Browse files

drivers: pwm: pwm_stm32: reset timer using RCC before initialization



If a timer is left running on an stm32mp1, (most likely) on the next run
the timer is stuck.
A simple timer reset before initialization fixes the issue.

Signed-off-by: default avatarSean Nyekjaer <sean@geanix.com>
parent 63fa033d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment