aboutsummaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-rz-mtu3.c
diff options
context:
space:
mode:
authorGuiting Shen <aarongt.shen@gmail.com>2023-07-16 10:06:52 +0800
committerThierry Reding <thierry.reding@gmail.com>2023-07-24 13:28:13 +0200
commita2f68c7e312f94c8f78740449a88e8d7308ab18d (patch)
treea71ae56dce2986e60a3bb9dc294bc5d5c3714702 /drivers/pwm/pwm-rz-mtu3.c
parent0a41b0c5d97a3758ad102cec469aaa79c7d406b7 (diff)
downloadlinux-a2f68c7e312f94c8f78740449a88e8d7308ab18d.tar.gz
linux-a2f68c7e312f94c8f78740449a88e8d7308ab18d.tar.bz2
linux-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 <aarongt.shen@gmail.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@tuxon.dev> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-rz-mtu3.c')
0 files changed, 0 insertions, 0 deletions