commit | b8ccc593eeeacde0e6794c4dcec0a57eba7356e6 | [log] [tgz] |
---|---|---|
author | John Youn <John.Youn@synopsys.com> | Thu Dec 17 11:15:35 2015 -0800 |
committer | Felipe Balbi <balbi@ti.com> | Tue Dec 22 11:54:45 2015 -0600 |
tree | b9b6fe7aa282f39c496dd920de63b0267a96826a | |
parent | 7d56cc2620f523eba7a831daa22186c8ae5bbdfe [diff] |
usb: dwc2: Reorder AHBIDLE and CSFTRST in dwc2_core_reset() According to the databook, the core soft reset should be done before checking for AHBIDLE. The gadget version of core reset had it correct but the hcd version did not. This fixes the hcd version. Signed-off-by: John Youn <johnyoun@synopsys.com> Reviewed-by: Douglas Anderson <dianders@chromium.org> Tested-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Felipe Balbi <balbi@ti.com>