diff options
author | 2024-11-04 19:18:25 +0000 | |
---|---|---|
committer | 2024-11-05 09:15:20 +0900 | |
commit | 842c3755a6bfbfcafa4a1438078d2485a9eb1d87 (patch) | |
tree | 82f8aa4b8e87460f91f95f795726b56208fac7eb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | counter: stm32-timer-cnt: fix device_node handling in probe_encoder() (diff) | |
download | wireguard-linux-842c3755a6bfbfcafa4a1438078d2485a9eb1d87.tar.xz wireguard-linux-842c3755a6bfbfcafa4a1438078d2485a9eb1d87.zip |
counter: stm32-timer-cnt: Add check for clk_enable()
Add check for the return value of clk_enable() in order to catch the
potential exception.
Fixes: c5b8425514da ("counter: stm32-timer-cnt: add power management support")
Fixes: ad29937e206f ("counter: Add STM32 Timer quadrature encoder")
Signed-off-by: Jiasheng Jiang <jiashengjiangcool@gmail.com>
Link: https://lore.kernel.org/r/20241104191825.40155-1-jiashengjiangcool@gmail.com
Signed-off-by: William Breathitt Gray <wbg@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions