diff options
author | Zhang Qilong <zhangqilong3@huawei.com> | 2020-11-02 15:58:35 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-11-10 16:59:10 +0100 |
commit | 1dcbdd944824369d4569959f8130336fe6fe5f39 (patch) | |
tree | c58807c050090d32c1d35c79d5cad8795d50616a /README | |
parent | spi: atmel-quadspi: Disable clock in probe error path (diff) | |
download | linux-1dcbdd944824369d4569959f8130336fe6fe5f39.tar.xz linux-1dcbdd944824369d4569959f8130336fe6fe5f39.zip |
spi: imx: fix reference leak in two imx operations
pm_runtime_get_sync will increment pm usage counter even it
failed. Forgetting to pm_runtime_put_noidle will result in
reference leak in callers(spi_imx_prepare_message and
spi_imx_remove), so we should fix it.
Fixes: 525c9e5a32bd7 ("spi: imx: enable runtime pm support")
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Link: https://lore.kernel.org/r/20201102145835.4765-1-zhangqilong3@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions