OpenCloudOS-Kernel/drivers/crypto/allwinner/sun8i-ce
Shixin Liu cc987ae915 crypto: sun8i-ce - Fix PM reference leak in sun8i_ce_probe()
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:33 +10:00
..
Makefile crypto: sun8i-ce - Add support for the TRNG 2020-09-25 17:48:28 +10:00
sun8i-ce-cipher.c crypto: allwinner - Fix the parameter of dma_unmap_sg() 2021-03-26 20:02:34 +11:00
sun8i-ce-core.c crypto: sun8i-ce - Fix PM reference leak in sun8i_ce_probe() 2021-04-16 21:16:33 +10:00
sun8i-ce-hash.c crypto: allwinner - Fix the parameter of dma_unmap_sg() 2021-03-26 20:02:34 +11:00
sun8i-ce-prng.c crypto: sun8i-ce - fix error return code in sun8i_ce_prng_generate() 2021-03-13 00:04:04 +11:00
sun8i-ce-trng.c crypto: sun8x-ce*: update entries to its documentation 2020-10-28 11:41:15 -06:00
sun8i-ce.h crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00