Skip to content
Commit 47619a64 authored by Aditya Pakki's avatar Aditya Pakki Committed by Paul Gortmaker
Browse files

usb: dwc3: pci: Fix reference count leak in dwc3_pci_resume_work

commit 2655971a

 upstream.

dwc3_pci_resume_work() calls pm_runtime_get_sync() that increments
the reference counter. In case of failure, decrement the reference
before returning.

Signed-off-by: default avatarAditya Pakki <pakki001@umn.edu>
Signed-off-by: default avatarFelipe Balbi <balbi@kernel.org>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent e720e0c4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment