Skip to content
Commit cce16e7f authored by Mingwei Zheng's avatar Mingwei Zheng Committed by Uwe Kleine-König
Browse files

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: e70a540b ("pwm: Add STM32 LPTimer PWM driver")
Signed-off-by: default avatarMingwei Zheng <zmw12306@gmail.com>
Signed-off-by: default avatarJiasheng Jiang <jiashengjiangcool@gmail.com>
Link: https://lore.kernel.org/r/20241206215318.3402860-1-zmw12306@gmail.com


Signed-off-by: default avatarUwe Kleine-König <ukleinek@kernel.org>
parent 4ccf7e35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment