commit | c499ff71ff2a281366c6ec7a904c547d806cbcd1 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <felipe.balbi@linux.intel.com> | Mon May 16 10:49:01 2016 +0300 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Mon Jun 20 12:32:36 2016 +0300 |
tree | eeff389fba58f7b0e867a4ca61acb0a27081b288 | |
parent | bcdb3272e889f4d2a5c8efc5e12b0fb2dcbf75e9 [diff] |
usb: dwc3: core: re-factor init and exit paths The idea of this patch is for dwc3_core_init() to abstract all the details about how to initialize dwc3 and dwc3_core_exit() to do the same for teardown. With this, we can simplify suspend/resume operations by a large margin and always know that we're going to start dwc3 from a known starting point. Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>