diff options
author | Kyle Tso <kyletso@google.com> | 2021-06-01 15:31:51 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-04 12:43:01 +0300 |
commit | 80137c18737c30d20ee630e442405236d96898a7 (patch) | |
tree | 532bac7eff2f067a0ebd05d2ff7382aec4ccc609 /drivers/usb/dwc3 | |
parent | 7ac505103572548fd8a50a49b2c22e1588901731 (diff) | |
download | linux-80137c18737c30d20ee630e442405236d96898a7.tar.xz |
usb: typec: tcpm: Fix misuses of AMS invocation
tcpm_ams_start is used to initiate an AMS as well as checking Collision
Avoidance conditions but not for flagging passive AMS (initiated by the
port partner). Fix the misuses of tcpm_ams_start in tcpm_pd_svdm.
ATTENTION doesn't need responses so the AMS flag is not needed here.
Fixes: 0bc3ee92880d ("usb: typec: tcpm: Properly interrupt VDM AMS")
Signed-off-by: Kyle Tso <kyletso@google.com>
Link: https://lore.kernel.org/r/20210601123151.3441914-5-kyletso@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/dwc3')
0 files changed, 0 insertions, 0 deletions