diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-07-28 12:07:07 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-08-22 09:45:11 +0200 |
commit | b74c2d875baaa07186f617c5617f4c5e3a8a41ad (patch) | |
tree | 1b9bb2106f1e1c1294a6c820c2af7ed3a1a4cce8 /drivers/usb/dwc2/core.h | |
parent | usb: dwc3: pci: runtime_resume child device (diff) | |
download | linux-b74c2d875baaa07186f617c5617f4c5e3a8a41ad.tar.xz linux-b74c2d875baaa07186f617c5617f4c5e3a8a41ad.zip |
usb: dwc3: core: allow device to runtime_suspend several times
After going through runtime_suspend/runtime_resume
cycle once we would be left with an unbalanced
pm_runtime_get() call. Fix that by making sure that
we try to suspend right after resuming so things are
balanced and device can runtime_suspend again.
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc2/core.h')
0 files changed, 0 insertions, 0 deletions