Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: stm32 - fix reference leak in stm32_crc_remove
[ Upstream commit e9a36fe ] pm_runtime_get_sync() will increment pm usage counter even it failed. Forgetting to call pm_runtime_put_noidle will result in reference leak in stm32_crc_remove, so we should fix it. Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information