Re: [PATCH] usb: xhci: dbc: Don't decrement runtime PM counter if DBC is not started

2018-06-25 Thread Mathias Nyman
On 25.06.2018 08:20, Kai-Heng Feng wrote: pm_runtime_put_sync() gets called everytime in xhci_dbc_stop(). If dbc is not started, this makes the runtime PM counter incorrectly becomes 0, and calls autosuspend function. Then we'll keep seeing this: [54664.762220] xhci_hcd :00:14.0: Root hub

Re: [PATCH] usb: xhci: dbc: Don't decrement runtime PM counter if DBC is not started

2018-06-25 Thread Mathias Nyman
On 25.06.2018 08:20, Kai-Heng Feng wrote: pm_runtime_put_sync() gets called everytime in xhci_dbc_stop(). If dbc is not started, this makes the runtime PM counter incorrectly becomes 0, and calls autosuspend function. Then we'll keep seeing this: [54664.762220] xhci_hcd :00:14.0: Root hub