diff options
author | Zhang Qilong <[email protected]> | 2020-11-06 09:50:35 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-11-11 12:39:32 +0000 |
commit | e4062765bc2a41e025e29dd56bad798505036427 (patch) | |
tree | 536f132c3b7c0adef4229017f580a029130d463b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1dcbdd944824369d4569959f8130336fe6fe5f39 (diff) |
spi: sprd: fix reference leak in sprd_spi_remove
pm_runtime_get_sync will increment pm usage counter even it
failed. Forgetting to pm_runtime_put_noidle will result in
reference leak in sprd_spi_remove, so we should fix it.
Fixes: e7d973a31c24b ("spi: sprd: Add SPI driver for Spreadtrum SC9860")
Signed-off-by: Zhang Qilong <[email protected]>
Acked-by: Chunyan Zhang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions