diff options
author | 2020-11-06 09:53:57 +0800 | |
---|---|---|
committer | 2020-11-09 19:44:25 +0000 | |
commit | 88e1419b5ee30cc50e0c4d5265bdee1ba04af539 (patch) | |
tree | c739097ffc466c66bca2d1c968386cbe5a643441 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | spi: stm32: fix reference leak in stm32_spi_resume (diff) | |
download | linux-dev-88e1419b5ee30cc50e0c4d5265bdee1ba04af539.tar.xz linux-dev-88e1419b5ee30cc50e0c4d5265bdee1ba04af539.zip |
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 <zhangqilong3@huawei.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Link: https://lore.kernel.org/r/20201106015357.141235-1-zhangqilong3@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions