diff options
author | Ondrej Jirman <[email protected]> | 2024-02-17 17:20:21 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-02-19 09:30:42 +0100 |
commit | 23b1d2d99b0f55326f05e7d757fa197c4a95dc5c (patch) | |
tree | 46217ff49b205440693acf7441622452514e759f /net/switchdev/switchdev.c | |
parent | 858a74cb512833e276d96a72acb560ce8c138bec (diff) |
Revert "usb: typec: tcpm: reset counter when enter into unattached state after try role"
The reverted commit makes the state machine only ever go from SRC_ATTACH_WAIT
to SNK_TRY in endless loop when toggling. After revert it goes to SRC_ATTACHED
after initially trying SNK_TRY earlier, as it should for toggling to ever detect
the power source mode and the port is again able to provide power to attached
power sinks.
This reverts commit 2d6d80127006ae3da26b1f21a65eccf957f2d1e5.
Cc: [email protected]
Fixes: 2d6d80127006 ("usb: typec: tcpm: reset counter when enter into unattached state after try role")
Signed-off-by: Ondrej Jirman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions