commit | 7650bd74d3441907867276dc381b2ee0dc355c65 | [log] [tgz] |
---|---|---|
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | Mon Aug 29 13:56:36 2011 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Fri Sep 09 13:02:09 2011 +0300 |
tree | c3478d45ed646a0bf5b3dd18fd8f0f8902ce40ff | |
parent | e7225315a89731d0f986c20165184f1dc9a9bf2b [diff] |
usb: dwc3: core: move the core check before soft reset We read the DWC3_GSNPSID register to make sure we got the correct register offset passed. One of the recent commits moved the soft reset before this so in case of the wrong offset we end up with "reset timed out". This patch moves the "id" check before the reset again. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Felipe Balbi <balbi@ti.com>