summaryrefslogtreecommitdiff
path: root/block/blk.h
diff options
context:
space:
mode:
authorKai-Heng Feng <kai.heng.feng@canonical.com>2018-07-02 17:13:31 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-02 17:19:27 +0200
commit74cb319bd97dd62881f97ea5a3228f7c2546bf56 (patch)
tree4cbcdc81c5dacb075f0547804e6652a75155f816 /block/blk.h
parent021c91791a5e7e85c567452f1be3e4c2c6cb6063 (diff)
usb: xhci: dbc: Don't decrement runtime PM counter if DBC is not started
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> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/blk.h')
0 files changed, 0 insertions, 0 deletions