diff options
author | 2021-02-01 02:02:12 -0800 | |
---|---|---|
committer | 2021-02-02 16:14:28 +0100 | |
commit | 7771bcc7f5a727d6e3f7a80b0b075a75cb664fb2 (patch) | |
tree | b30c27ae324a0de666b830376d21b8a8802a52e8 /drivers/usb/cdns3/cdns3-imx.c | |
parent | Merge tag 'tag-ib-usb-typec-chrome-platform-cros-ec-typec-changes-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux into usb-next (diff) | |
download | linux-dev-7771bcc7f5a727d6e3f7a80b0b075a75cb664fb2.tar.xz linux-dev-7771bcc7f5a727d6e3f7a80b0b075a75cb664fb2.zip |
usb: typec: tcpm: Handle vbus shutoff when in source mode
While in source mode, vbus could be shutoff by protections
circuits. TCPM does not move back to toggling state to
re-initiate connection. Fix this by moving to SRC_UNATTACHED
state when vbus shuts off while in source mode.
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Link: https://lore.kernel.org/r/20210201100212.49863-1-badhri@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions