WSL2-Linux-Kernel/drivers/crypto/stm32
Zheng Yongjun 625ff6f497 crypto: stm32 - fix reference leak in stm32_crc_remove
[ Upstream commit e9a36feece ]

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>
2022-05-25 09:57:24 +02:00
..
Kconfig crypto: stm32/crc32 - Avoid lock if hardware is already used 2020-09-25 17:48:14 +10:00
Makefile Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2019-07-08 20:57:08 -07:00
stm32-crc32.c crypto: stm32 - fix reference leak in stm32_crc_remove 2022-05-25 09:57:24 +02:00
stm32-cryp.c crypto: stm32 - Revert broken pm_runtime_resume_and_get changes 2022-01-27 11:03:35 +01:00
stm32-hash.c crypto: stm32 - Revert broken pm_runtime_resume_and_get changes 2022-01-27 11:03:35 +01:00