Commit 78564038 authored by Mingwei Zheng's avatar Mingwei Zheng Committed by Greg Kroah-Hartman
Browse files

pwm: stm32-lp: Add check for clk_enable()



[ Upstream commit cce16e7f ]

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>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 2d9c5a72
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment