aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stm32.c
diff options
context:
space:
mode:
authorMingwei Zheng <[email protected]>2024-12-06 21:53:18 +0000
committerUwe Kleine-König <[email protected]>2024-12-18 10:12:05 +0000
commitcce16e7f6216227964cda25f5f23634bce2c500f (patch)
tree7a5f1823d6f8754fb04640be845a322e57f45ac9 /drivers/pwm/pwm-stm32.c
parentdt-bindings: pwm: marvell,berlin-pwm: Convert from txt to yaml (diff)
downloadkernel-cce16e7f6216227964cda25f5f23634bce2c500f.tar.gz
kernel-cce16e7f6216227964cda25f5f23634bce2c500f.zip
pwm: stm32-lp: Add check for clk_enable()
Add check for the return value of clk_enable() to catch the potential error. We used APP-Miner to find it. Fixes: e70a540b4e02 ("pwm: Add STM32 LPTimer PWM driver") Signed-off-by: Mingwei Zheng <[email protected]> Signed-off-by: Jiasheng Jiang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions