commit | 13343badae093977295341d5a050f51ef128821c | [log] [tgz] |
---|---|---|
author | Shixin Liu <liushixin2@huawei.com> | Thu Apr 08 15:18:37 2021 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Apr 16 21:16:33 2021 +1000 |
tree | 485a9a46eb4762ed63ee58fbb00ca1577122caa4 | |
parent | 747bf30fd944f02f341b5f3bc7d97a13f2ae2fbe [diff] |
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>