commit | ab3da1b44a15b0d44a6d102aaca1850fd413640d | [log] [tgz] |
---|---|---|
author | Manu Gautam <mgautam@codeaurora.org> | Tue Apr 02 14:29:01 2013 +0530 |
committer | Manu Gautam <mgautam@codeaurora.org> | Tue Apr 02 14:29:01 2013 +0530 |
tree | 1c681d090a51ea01399e8dd15438cfa496af9a5a | |
parent | 4d6eb44e2c8fde50da59f8117bee1aa4e66fe99e [diff] |
USB: dwc3_otg: Set peripheral mode before re-initializing core Moving from host to peripheral mode requires performing hardware reset and re-initializing core. DWC3 core mode must be changed to peripheral before DEVICE specific initialization, otherwise, EP0 initialization would fail due to mode set to HOST and USB wouldn't enumerate in peripheral mode. Change-Id: I615442f885e602560d07e2278876d60744b6bd87 CRs-fixed: 469608 Signed-off-by: Manu Gautam <mgautam@codeaurora.org>