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

pwm: stm32: Add check for clk_enable()



Add check for the return value of clk_enable() to catch the potential
error.

Fixes: 19f1016e ("pwm: stm32: Fix enable count for clk in .probe()")
Signed-off-by: default avatarMingwei Zheng <zmw12306@gmail.com>
Signed-off-by: default avatarJiasheng Jiang <jiashengjiangcool@gmail.com>
Link: https://lore.kernel.org/r/20241215224752.220318-1-zmw12306@gmail.com


Signed-off-by: default avatarUwe Kleine-König <ukleinek@kernel.org>
parent 78dcad6d
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