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

Skip to content
Commit 36fd1ffa authored by Jack Pham's avatar Jack Pham
Browse files

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: default avatarJack Pham <jackp@codeaurora.org>
parent b2bdf7dc
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