usb: dwc3-msm: Read initial ID line state after core init
When booting with an A-type cable already attached, the initial
reading of the ID line state could trigger the ID work function to
execute before the DWC3 core has even initialized. As a result the
OTG driver will fail to be notified to start up in host mode. Fix
this by reading the line state after of_platform_populate().
CRs-fixed: 629312
Change-Id: I94f42812584a37de070dc7316f99c33cb9c67bca
Signed-off-by:
Jack Pham <jackp@codeaurora.org>
Loading
Please register or sign in to comment