diff options
author | Uwe Kleine-König <[email protected]> | 2023-03-17 09:42:30 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-03-17 15:47:49 +0000 |
commit | c18bbac353ffed50be134b0a2a059a2bd540c503 (patch) | |
tree | 24ce6cf1c9b4baa5f6be7cfa1d3f42adabd3153e /tools/perf/scripts/python/check-perf-trace.py | |
parent | eeac8ede17557680855031c6f305ece2378af326 (diff) |
spi: atmel-quadspi: Don't leak clk enable count in pm resume
The pm resume call is supposed to enable two clocks. If the second enable
fails the callback reports failure but doesn't undo the first enable.
So call clk_disable() for the first clock when clk_enable() for the second
one fails.
Fixes: 4a2f83b7f780 ("spi: atmel-quadspi: add runtime pm support")
Signed-off-by: Uwe Kleine-König <[email protected]>
Reviewed-by: Tudor Ambarus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions