aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorGuiting Shen <[email protected]>2023-07-16 10:06:52 +0800
committerThierry Reding <[email protected]>2023-07-24 13:28:13 +0200
commita2f68c7e312f94c8f78740449a88e8d7308ab18d (patch)
treea71ae56dce2986e60a3bb9dc294bc5d5c3714702 /lib/test_fortify/write_overflow-strncpy-src.c
parent0a41b0c5d97a3758ad102cec469aaa79c7d406b7 (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 <[email protected]> Reviewed-by: Claudiu Beznea <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions