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: Aditya Pakki <pakki001@umn.edu> Signed-off-by: Felipe Balbi <balbi@kernel.org> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
parent
e720e0c4
Please register or sign in to comment