diff options
| author | Zhang Qilong <[email protected]> | 2020-11-06 09:53:57 +0800 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2020-11-09 19:44:25 +0000 |
| commit | 88e1419b5ee30cc50e0c4d5265bdee1ba04af539 (patch) | |
| tree | c739097ffc466c66bca2d1c968386cbe5a643441 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 900ccdcb79bb61471df1566a70b2b39687a628d5 (diff) | |
spi: stm32-qspi: fix reference leak in stm32 qspi operations
pm_runtime_get_sync will increment pm usage counter even it
failed. Forgetting to pm_runtime_put_noidle will result in
reference leak in two callers(stm32_qspi_exec_op and
stm32_qspi_setup), so we should fix it.
Fixes: 9d282c17b023a ("spi: stm32-qspi: Add pm_runtime support")
Signed-off-by: Zhang Qilong <[email protected]>
Reviewed-by: Patrice Chotard <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions