diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2011-08-29 11:56:36 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-09-09 10:02:09 (GMT) |
commit | 7650bd74d3441907867276dc381b2ee0dc355c65 (patch) | |
tree | c3478d45ed646a0bf5b3dd18fd8f0f8902ce40ff /drivers/usb/dwc3/gadget.c | |
parent | e7225315a89731d0f986c20165184f1dc9a9bf2b (diff) | |
download | linux-fsl-qoriq-7650bd74d3441907867276dc381b2ee0dc355c65.tar.xz |
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>
Diffstat (limited to 'drivers/usb/dwc3/gadget.c')
0 files changed, 0 insertions, 0 deletions