aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/core.c
diff options
context:
space:
mode:
authorGuiting Shen <[email protected]>2023-07-16 02:06:52 +0000
committerThierry Reding <[email protected]>2023-07-24 11:28:13 +0000
commita2f68c7e312f94c8f78740449a88e8d7308ab18d (patch)
treea71ae56dce2986e60a3bb9dc294bc5d5c3714702 /drivers/pwm/core.c
parentpwm: Explicitly include correct DT includes (diff)
downloadkernel-a2f68c7e312f94c8f78740449a88e8d7308ab18d.tar.gz
kernel-a2f68c7e312f94c8f78740449a88e8d7308ab18d.zip
pwm: atmel: Enable clk when pwm already enabled in bootloader
The driver would never call clk_enable() if the PWM channel was already enabled in bootloader which lead to dump the warning message "the PWM clock already disabled" when turning off the PWM channel. Add atmel_pwm_enable_clk_if_on() in probe function to enable clock if the PWM channel was already enabled in bootloader. Signed-off-by: Guiting Shen <[email protected]> Reviewed-by: Claudiu Beznea <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/core.c')
0 files changed, 0 insertions, 0 deletions