commit | 00af62330c39a6c88615a08e7f9d068944e4af69 | [log] [tgz] |
---|---|---|
author | Baolin Wang <baolin.wang@linaro.org> | Fri Jul 15 17:13:27 2016 +0800 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Thu Aug 25 12:13:16 2016 +0300 |
tree | 820b71ace4348e8459cd6654b5ca9cfb10a2fa24 | |
parent | f8ca46aeb7b422b8c22e286e25269e4fefc560bd [diff] |
usb: dwc3: core: Move the mode setting to the right place When dwc3 core enters into suspend mode, the system (especially for mobile device) may power off the dwc3 controller for power saving, that will cause dwc3 controller lost the mode operation when resuming dwc3 core. Thus we can move the mode setting into dwc3_core_init() function to avoid this issue. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>