summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/omap-aes.c
diff options
context:
space:
mode:
authorShixin Liu <liushixin2@huawei.com>2021-04-08 15:18:37 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2021-04-16 21:16:33 +1000
commit13343badae093977295341d5a050f51ef128821c (patch)
tree485a9a46eb4762ed63ee58fbb00ca1577122caa4 /drivers/crypto/omap-aes.c
parent747bf30fd944f02f341b5f3bc7d97a13f2ae2fbe (diff)
downloadlinux-stable-13343badae093977295341d5a050f51ef128821c.tar.gz
linux-stable-13343badae093977295341d5a050f51ef128821c.tar.bz2
linux-stable-13343badae093977295341d5a050f51ef128821c.zip
crypto: sa2ul - Fix PM reference leak in sa_ul_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>
Diffstat (limited to 'drivers/crypto/omap-aes.c')
0 files changed, 0 insertions, 0 deletions