aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-twl.c
diff options
context:
space:
mode:
authorPhilipp Zabel <[email protected]>2023-10-19 20:07:04 +0000
committerThierry Reding <[email protected]>2023-12-20 15:04:14 +0000
commit19f1016ea9600ed89bc24247c36ff5934ad94fbb (patch)
tree303b570495600e7811eb9266ea2c638cd1e5d423 /drivers/pwm/pwm-twl.c
parentpwm: stm32: Implement .get_state() (diff)
downloadkernel-19f1016ea9600ed89bc24247c36ff5934ad94fbb.tar.gz
kernel-19f1016ea9600ed89bc24247c36ff5934ad94fbb.zip
pwm: stm32: Fix enable count for clk in .probe()
Make the driver take over hardware state without disabling in .probe() and enable the clock for each enabled channel. Signed-off-by: Philipp Zabel <[email protected]> [ukleinek: split off from a patch that also implemented .get_state()] Signed-off-by: Uwe Kleine-König <[email protected]> Fixes: 7edf7369205b ("pwm: Add driver for STM32 plaftorm") Reviewed-by: Fabrice Gasnier <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-twl.c')
0 files changed, 0 insertions, 0 deletions