commit | b873e2d0ea1efc91fb603b727733525f07419f2b | [log] [tgz] |
---|---|---|
author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | Thu Apr 25 14:19:21 2019 -0700 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Fri May 03 09:13:49 2019 +0300 |
tree | 1d326b4eea43e1c5525e458ff04a2731422b2935 | |
parent | c729969b2b692ce3ed362e60d38391e7671758ff [diff] |
usb: dwc3: Do core validation early on probe The setting of the dr_mode may need to check the controller's revision. The revision is set in the dwc3_core_is_valid(), which comes after dr_mode setting. Let's move it closer to the start of the dwc3_probe() function and before calling dwc3_get_dr_mode(). Signed-off-by: Thinh Nguyen <thinhn@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>