usb: pd: update PHY roles immediately after DR_Swap
In case of DR_Swap, update the PHY DR role immediately after
accepting the request (or receiving an accept from the peer)
so as to have the correct roles sent out by the Auto-GoodCRC
mechanism. This is in case another message is received while
still busy handling the extcon notifications to stop/start
the host/peripheral stack.
Change-Id: I93197583a88c9ad0c291e3756f96c4858f591392
Signed-off-by:
Jack Pham <jackp@codeaurora.org>
Loading
Please register or sign in to comment