diff options
author | Zhang Qilong <zhangqilong3@huawei.com> | 2020-11-06 02:52:17 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-11-06 11:54:49 +0100 |
commit | 900ccdcb79bb61471df1566a70b2b39687a628d5 (patch) | |
tree | 5ed93275163a64205dadee8f29a29d66afbd1c52 /scripts/extract-sys-certs.pl | |
parent | spi: spi-mem: fix reference leak in spi_mem_access_start (diff) | |
download | linux-900ccdcb79bb61471df1566a70b2b39687a628d5.tar.xz linux-900ccdcb79bb61471df1566a70b2b39687a628d5.zip |
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 <zhangqilong3@huawei.com>
Reviewed-by: Alain Volmat <alain.volmat@st.com>
Link: https://lore.kernel.org/r/20201106015217.140476-1-zhangqilong3@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/extract-sys-certs.pl')
0 files changed, 0 insertions, 0 deletions