diff options
author | Guiting Shen <aarongt.shen@gmail.com> | 2023-07-16 10:06:52 +0800 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2023-07-24 13:28:13 +0200 |
commit | a2f68c7e312f94c8f78740449a88e8d7308ab18d (patch) | |
tree | a71ae56dce2986e60a3bb9dc294bc5d5c3714702 /tools/perf/scripts/python/task-analyzer.py | |
parent | 0a41b0c5d97a3758ad102cec469aaa79c7d406b7 (diff) |
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 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions