Messages in this thread | | | Subject | Re: [PATCH] usb: xhci: dbc: Don't decrement runtime PM counter if DBC is not started | From | Mathias Nyman <> | Date | Mon, 25 Jun 2018 11:25:59 +0300 |
| |
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 0000:00:14.0: Root hub is not suspended > > So only calls pm_runtime_put_sync() when dbc was started. > > Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Thanks, nice catch. Adding to queue
-Mathias
| |