diff options
| author | Zhang Qilong <[email protected]> | 2020-11-03 22:09:10 +0800 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2020-11-04 17:52:33 +0000 |
| commit | c02bb16b0e826bf0e19aa42c3ae60ea339f32cf5 (patch) | |
| tree | 76382197a3abb1aeaf2319e2fa71790bc0393cfc /tools/perf/scripts/python | |
| parent | a9c52d42814a44472fe1205775320ec20f556908 (diff) | |
spi: spi-mem: fix reference leak in spi_mem_access_start
pm_runtime_get_sync will increment pm usage counter even it
failed. Forgetting to pm_runtime_put_noidle will result in
reference leak in spi_mem_access_start, so we should fix it.
Fixes: f86c24f479530 ("spi: spi-mem: Split spi_mem_exec_op() code")
Signed-off-by: Zhang Qilong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions