summaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/trace.h
diff options
context:
space:
mode:
authorBadhri Jagan Sridharan <badhri@google.com>2020-11-24 18:07:03 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-26 13:40:30 +0100
commit7abc6ca5dced0b5953df179007528e39b9fc43b7 (patch)
tree72295b5c97d5fa2c49a038ad1e981ddafc1eef83 /drivers/usb/cdns3/trace.h
parent2e70c495cadebdcc6f80fde3553401bb0987b29f (diff)
downloadlinux-7abc6ca5dced0b5953df179007528e39b9fc43b7.tar.bz2
usb: typec: tcpm: Disregard vbus off while in PR_SWAP_SNK_SRC_SOURCE_ON
During PR_SWAP sequence, when TCPM is waiting in PR_SWAP_SNK_SRC_SOURCE_ON for the vbus source to ramp up, TCPM would prematurely exit PR_SWAP_SNK_SRC_SOURCE_ON and transition to SNK_UNATTACHED state when a vbus off notification is received. This should not be the case as vbus can still be off while in PR_SWAP_SNK_SRC_SOURCE_ON and the vbus source has PD_T_NEWSRC to ramp up. Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Badhri Jagan Sridharan <badhri@google.com> Link: https://lore.kernel.org/r/20201125020703.1604979-1-badhri@google.com Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/trace.h')
0 files changed, 0 insertions, 0 deletions