diff options
author | Uwe Kleine-König <[email protected]> | 2023-03-30 23:03:40 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-04-04 12:46:48 +0100 |
commit | 61f49171a43ab1f80c73c5c88c508770c461e0f2 (patch) | |
tree | 636a2c56fa0790e703d881633497f26c39ed08aa /tools/perf/scripts/python/check-perf-trace.py | |
parent | c2912d42e86e494935722669e4d9eade69649072 (diff) |
spi: qup: Don't skip cleanup in remove's error path
Returning early in a platform driver's remove callback is wrong. In this
case the dma resources are not released in the error path. this is never
retried later and so this is a permanent leak. To fix this, only skip
hardware disabling if waking the device fails.
Fixes: 64ff247a978f ("spi: Add Qualcomm QUP SPI controller support")
Signed-off-by: Uwe Kleine-König <[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