diff options
author | Zhang Qilong <zhangqilong3@huawei.com> | 2020-11-06 09:50:35 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-11-11 12:39:32 +0000 |
commit | e4062765bc2a41e025e29dd56bad798505036427 (patch) | |
tree | 536f132c3b7c0adef4229017f580a029130d463b /scripts/Makefile.kasan | |
parent | 1dcbdd944824369d4569959f8130336fe6fe5f39 (diff) | |
download | linux-stable-e4062765bc2a41e025e29dd56bad798505036427.tar.gz linux-stable-e4062765bc2a41e025e29dd56bad798505036427.tar.bz2 linux-stable-e4062765bc2a41e025e29dd56bad798505036427.zip |
spi: sprd: fix reference leak in sprd_spi_remove
pm_runtime_get_sync will increment pm usage counter even it
failed. Forgetting to pm_runtime_put_noidle will result in
reference leak in sprd_spi_remove, so we should fix it.
Fixes: e7d973a31c24b ("spi: sprd: Add SPI driver for Spreadtrum SC9860")
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Acked-by: Chunyan Zhang <zhang.lyra@gmail.com>
Link: https://lore.kernel.org/r/20201106015035.139574-1-zhangqilong3@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.kasan')
0 files changed, 0 insertions, 0 deletions