summaryrefslogtreecommitdiff
path: root/drivers/usb/common
diff options
context:
space:
mode:
authorBadhri Jagan Sridharan <badhri@google.com>2024-01-17 14:47:42 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-28 04:41:34 +0300
commitb717dfbf73e842d15174699fe2c6ee4fdde8aa1f (patch)
tree53595e0b101f369be0a9311e3202765b58a3033d /drivers/usb/common
parent032178972f8e992b90f9794a13265fec8c8314b0 (diff)
downloadlinux-b717dfbf73e842d15174699fe2c6ee4fdde8aa1f.tar.xz
Revert "usb: typec: tcpm: fix cc role at port reset"
This reverts commit 1e35f074399dece73d5df11847d4a0d7a6f49434. Given that ERROR_RECOVERY calls into PORT_RESET for Hi-Zing the CC pins, setting CC pins to default state during PORT_RESET breaks error recovery. 4.5.2.2.2.1 ErrorRecovery State Requirements The port shall not drive VBUS or VCONN, and shall present a high-impedance to ground (above zOPEN) on its CC1 and CC2 pins. Hi-Zing the CC pins is the inteded behavior for PORT_RESET. CC pins are set to default state after tErrorRecovery in PORT_RESET_WAIT_OFF. 4.5.2.2.2.2 Exiting From ErrorRecovery State A Sink shall transition to Unattached.SNK after tErrorRecovery. A Source shall transition to Unattached.SRC after tErrorRecovery. Cc: stable@vger.kernel.org Cc: Frank Wang <frank.wang@rock-chips.com> Fixes: 1e35f074399d ("usb: typec: tcpm: fix cc role at port reset") Signed-off-by: Badhri Jagan Sridharan <badhri@google.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20240117114742.2587779-1-badhri@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/common')
0 files changed, 0 insertions, 0 deletions