diff options
| author | Roger Quadros <rogerq@ti.com> | 2016-04-12 11:33:29 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-03 06:23:17 +0200 |
| commit | df2ca3271569367352835f981618e284fdc4ca94 (patch) | |
| tree | ac9c739c887ba53cce44f12a3f78d5d6d547ef24 /tools/perf/scripts/python | |
| parent | f2427238c9ed72e7a8c56c0d342c3b283adce4c6 (diff) | |
usb: dwc3: gadget: Fix suspend/resume during device mode
commit 9772b47a4c2916d645c551228b6085ea24acbe5d upstream.
Gadget controller might not be always active during system
suspend/resume as gadget driver might not have yet been loaded or
might have been unloaded prior to system suspend.
Check if we're active and only then perform
necessary actions during suspend/resume.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
