Re: [PATCH] usb: musb: fix reference count leak in musb_irq_work

2020-06-14 Thread Sergei Shtylyov
On 14.06.2020 6:27, Aditya Pakki wrote: musb_irq_work() calls pm_runtime_get_sync() that increments the reference counter. In case of failure, decrement the reference count and return the error. Again, *void* function, so no error returned. Signed-off-by: Aditya Pakki ---

[PATCH] usb: musb: fix reference count leak in musb_irq_work

2020-06-13 Thread Aditya Pakki
musb_irq_work() calls pm_runtime_get_sync() that increments the reference counter. In case of failure, decrement the reference count and return the error. Signed-off-by: Aditya Pakki --- drivers/usb/musb/musb_core.c | 1 + 1 file changed, 1 insertion(+) diff --git