summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-03-31 00:03:40 +0300
committerMark Brown <broonie@kernel.org>2023-04-04 14:46:48 +0300
commit61f49171a43ab1f80c73c5c88c508770c461e0f2 (patch)
tree636a2c56fa0790e703d881633497f26c39ed08aa /tools/perf/scripts/python/export-to-sqlite.py
parentc2912d42e86e494935722669e4d9eade69649072 (diff)
downloadlinux-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