commit | dc2ecf77d4c2525fb15d69fcb303345975a7960f | [log] [tgz] |
---|---|---|
author | Sriharsha Allenki <sallenki@codeaurora.org> | Thu Aug 09 19:05:31 2018 +0530 |
committer | Jack Pham <jackp@codeaurora.org> | Thu Nov 29 09:52:53 2018 -0800 |
tree | 090c27efe1d923d432774755c1ab28b058729775 | |
parent | ce2d64b78f1e227fd41a932d3af17ac8077a3db2 [diff] |
usb: dwc3: Start the core in host mode only if there is no extcon The current driver starts the core in host mode even if there is extcon available for that core. This causes the id_state to be overwritten to ID_GROUND irrespective of the current extcon state. Fix this starting the core in host mode by default only if there is no extcon present. Change-Id: Idd0885942e5e854f0aafc4a26a6eb27033f00935 Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>