Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9b8dd5d authored by Mayank Rana's avatar Mayank Rana Committed by Matt Wagantall
Browse files

usb: dwc3: gadget: Update link_state based on receiving interrupt



Currently dwc->link_state is being updated by reading DWC3_DSTS
register. DWC3_DSTS register is having delay in updation of LINK
state. Hence instead of relying on this register for U0 and U3
state, update dwc->link_state directly on receiving reset/wakeup
and suspend/disconnect interrupts respectively.

Change-Id: I8640f9566ab21c60fab24a2e5d25ba24545183ff
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
[jackp@codeaurora.org: resolved a trivial context conflict]
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 9a48cd3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment