diff options
| author | 2020-02-20 00:05:43 +0800 | |
|---|---|---|
| committer | 2020-03-04 10:51:21 +0100 | |
| commit | 67540460193bb5dc3841590bc76e1421d56dc173 (patch) | |
| tree | 36c9416cc269e8a71f181c074428c5964e0dd0b4 /drivers/usb/typec/class.c | |
| parent | usb: phy: tegra: Include proper GPIO consumer header to fix compile testing (diff) | |
| download | linux-dev-67540460193bb5dc3841590bc76e1421d56dc173.tar.xz linux-dev-67540460193bb5dc3841590bc76e1421d56dc173.zip | |
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/class.c')
0 files changed, 0 insertions, 0 deletions
