dwc3: gadget: Resume usb if in_lpm before setting RUN STOP
This change aborts pending suspend and if it is already suspended,
it resumes USB controller and wait for it before setting Run/Stop
bit. This change fixes device crash seen due to unclock accessed
while enabling Pullup.
CRs-Fixed: 718233
Change-Id: Ib014f49bb9dfc2baf966a68e90fc2a86db63c80e
Signed-off-by:
Mayank Rana <mrana@codeaurora.org>
Loading
Please register or sign in to comment