lkml.org 
[lkml]   [2018]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] usb: xhci: dbc: Don't decrement runtime PM counter if DBC is not started
From
Date
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

\
 
 \ /
  Last update: 2018-06-25 10:23    [W:0.031 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site