diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-03-31 00:03:40 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-04-04 14:46:48 +0300 |
commit | 61f49171a43ab1f80c73c5c88c508770c461e0f2 (patch) | |
tree | 636a2c56fa0790e703d881633497f26c39ed08aa /tools/perf/scripts/python/export-to-sqlite.py | |
parent | c2912d42e86e494935722669e4d9eade69649072 (diff) | |
download | linux-61f49171a43ab1f80c73c5c88c508770c461e0f2.tar.xz |
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 <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20230330210341.2459548-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions