diff options
author | Zhang Qilong <zhangqilong3@huawei.com> | 2020-11-06 04:50:35 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-11-11 15:39:32 +0300 |
commit | e4062765bc2a41e025e29dd56bad798505036427 (patch) | |
tree | 536f132c3b7c0adef4229017f580a029130d463b /drivers/crypto/axis/Makefile | |
parent | 1dcbdd944824369d4569959f8130336fe6fe5f39 (diff) | |
download | linux-e4062765bc2a41e025e29dd56bad798505036427.tar.xz |
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 'drivers/crypto/axis/Makefile')
0 files changed, 0 insertions, 0 deletions