Commit 23b1d2d
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 2d6d801.
Cc: stable@vger.kernel.org
Fixes: 2d6d801 ("usb: typec: tcpm: reset counter when enter into unattached state after try role")
Signed-off-by: Ondrej Jirman <megi@xff.cz>
Link: https://lore.kernel.org/r/20240217162023.1719738-1-megi@xff.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 858a74c commit 23b1d2d
1 file changed
+0
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3743 | 3743 | | |
3744 | 3744 | | |
3745 | 3745 | | |
3746 | | - | |
3747 | | - | |
3748 | | - | |
3749 | 3746 | | |
3750 | 3747 | | |
3751 | 3748 | | |
| |||
0 commit comments