usb: pd: Remove forcing role during hard reset
On newer PMICs forcing from dual to sink role even when
already in Attached.SNK state will cause the Type-C logic
to restart the state machine from Unattached.SNK including
CC debounce. During this period reading from the attached
status would indicate a momentary disconnect.
There is no need to force the role in this case, as it was
originally added to handle early versions of PMICs which
were not aware of hard reset and would disconnect when VBUS
goes away even when CC lines are still attached. Since forcing
role causes unintended disconnect on newer chips, remove it.
Change-Id: I7b6bb0a9b156f5d275811f704b5e494a8e3acc8d
Signed-off-by:
Jack Pham <jackp@codeaurora.org>
Loading
Please register or sign in to comment