summaryrefslogtreecommitdiff
path: root/drivers/usb/serial
diff options
context:
space:
mode:
authorShixin Liu <liushixin2@huawei.com>2021-04-08 10:18:37 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2021-04-16 14:16:33 +0300
commit13343badae093977295341d5a050f51ef128821c (patch)
tree485a9a46eb4762ed63ee58fbb00ca1577122caa4 /drivers/usb/serial
parent747bf30fd944f02f341b5f3bc7d97a13f2ae2fbe (diff)
downloadlinux-13343badae093977295341d5a050f51ef128821c.tar.xz
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/usb/serial')
0 files changed, 0 insertions, 0 deletions