usb: pd: Fix ERROR_RECOVERY handling
When entering ERROR_RECOVERY, the forced disconnect should
be processed first by queuing the work function to handle it
in the usual way. The required minimum delay should then be
done after this, before restoring the port to dual-role, and
thereby re-establishing the source/sink connection.
Change-Id: I672cdb59277af103045236232e54dc24f9f7fb01
Signed-off-by:
Jack Pham <jackp@codeaurora.org>
Loading
Please register or sign in to comment