diff options
| author | Mingwei Zheng <[email protected]> | 2024-12-15 22:47:52 +0000 |
|---|---|---|
| committer | Uwe Kleine-König <[email protected]> | 2025-01-17 09:41:56 +0000 |
| commit | e8c59791ebb60790c74b2c3ab520f04a8a57219a (patch) | |
| tree | 7430aaed548249d146b74d0d953086d3bce4bd29 /drivers/pwm/pwm-lpss-pci.c | |
| parent | dt-bindings: pwm: Correct indentation and style in DTS example (diff) | |
| download | kernel-e8c59791ebb60790c74b2c3ab520f04a8a57219a.tar.gz kernel-e8c59791ebb60790c74b2c3ab520f04a8a57219a.zip | |
pwm: stm32: Add check for clk_enable()
Add check for the return value of clk_enable() to catch the potential
error.
Fixes: 19f1016ea960 ("pwm: stm32: Fix enable count for clk in .probe()")
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-lpss-pci.c')
0 files changed, 0 insertions, 0 deletions
