commit | b74c2d875baaa07186f617c5617f4c5e3a8a41ad | [log] [tgz] |
---|---|---|
author | Felipe Balbi <felipe.balbi@linux.intel.com> | Thu Jul 28 13:07:07 2016 +0300 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Mon Aug 22 10:45:11 2016 +0300 |
tree | 1b9bb2106f1e1c1294a6c820c2af7ed3a1a4cce8 | |
parent | f6c274e11e3b31a5f95c23962b1ba593bd6a4759 [diff] |
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>