linux/drivers/crypto/allwinner/sun4i-ss
Shixin Liu ac98fc5e1c crypto: sun4i-ss - Fix PM reference leak when pm_runtime_get_sync() fails
pm_runtime_get_sync will increment pm usage counter even it failed.
Forgetting to putting operation will result in reference leak here.
Fix it by replacing it with pm_runtime_resume_and_get to keep usage
counter balanced.

Signed-off-by: Shixin Liu <liushixin2@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2021-04-16 21:16:32 +10:00
..
Makefile
sun4i-ss-cipher.c crypto: sun4i-ss - Fix PM reference leak when pm_runtime_get_sync() fails 2021-04-16 21:16:32 +10:00
sun4i-ss-core.c crypto: sun4i-ss - Fix PM reference leak when pm_runtime_get_sync() fails 2021-04-16 21:16:32 +10:00
sun4i-ss-hash.c crypto: sun4i-ss - Fix PM reference leak when pm_runtime_get_sync() fails 2021-04-16 21:16:32 +10:00
sun4i-ss-prng.c crypto: sun4i-ss - Fix PM reference leak when pm_runtime_get_sync() fails 2021-04-16 21:16:32 +10:00
sun4i-ss.h crypto: sun4i-ss - enabled stats via debugfs 2021-01-03 08:41:36 +11:00