diff options
| author | Zhang Qilong <[email protected]> | 2020-11-06 09:52:17 +0800 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2020-11-06 10:54:49 +0000 |
| commit | 900ccdcb79bb61471df1566a70b2b39687a628d5 (patch) | |
| tree | 5ed93275163a64205dadee8f29a29d66afbd1c52 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | c02bb16b0e826bf0e19aa42c3ae60ea339f32cf5 (diff) | |
spi: stm32: fix reference leak in stm32_spi_resume
pm_runtime_get_sync will increment pm usage counter even it
failed. Forgetting to pm_runtime_put_noidle will result in
reference leak in stm32_spi_resume, so we should fix it.
Fixes: db96bf976a4fc ("spi: stm32: fixes suspend/resume management")
Signed-off-by: Zhang Qilong <[email protected]>
Reviewed-by: Alain Volmat <[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