diff options
author | Li Jun <jun.li@nxp.com> | 2020-02-20 00:05:43 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-04 10:51:21 +0100 |
commit | 67540460193bb5dc3841590bc76e1421d56dc173 (patch) | |
tree | 36c9416cc269e8a71f181c074428c5964e0dd0b4 /drivers/usb/typec/mux.c | |
parent | 9cb9322a26ae84424c3e16e58617b3d8962fdbbb (diff) | |
download | linux-67540460193bb5dc3841590bc76e1421d56dc173.tar.bz2 |
usb: typec: tcpm: move to SNK_UNATTACHED if sink removed for DRP
Per typec spec:
Figure 4-15 Connection State Diagram: DRP
Figure 4-16 Connection State Diagram: DRP with Accessory and Try.SRC
Support
Figure 4-17 Connection State Diagram: DRP with Accessory and Try.SNK
Support
DRP port should move to Unattached.SNK instead of Unattached.SRC if
sink removed.
Signed-off-by: Li Jun <jun.li@nxp.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/1582128343-22438-1-git-send-email-jun.li@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/typec/mux.c')
0 files changed, 0 insertions, 0 deletions