linux/drivers/usb/typec
Xu Yang 6d91017a29 usb: typec: tcpm: handle SRC_STARTUP state if cc changes
TCPM for DRP should do the same action as SRC_ATTACHED when cc changes in
SRC_STARTUP state. Otherwise, TCPM will transition to SRC_UNATTACHED state
which is not satisfied with the Type-C spec.

Per Type-C spec:
DRP port should move to Unattached.SNK instead of Unattached.SRC if sink
removed.

Fixes: 4b4e02c831 ("typec: tcpm: Move out of staging")
cc: <stable@vger.kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Link: https://lore.kernel.org/r/20210928111639.3854174-1-xu.yang_2@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-10-05 13:47:00 +02:00
..
altmodes
mux Linux 5.13-rc6 2021-06-14 09:18:07 +02:00
tcpm usb: typec: tcpm: handle SRC_STARTUP state if cc changes 2021-10-05 13:47:00 +02:00
tipd usb: typec: tipd: Remove dependency on "connector" child fwnode 2021-10-05 13:46:22 +02:00
ucsi Linux 5.13-rc6 2021-06-14 09:18:07 +02:00
Kconfig
Makefile
bus.c bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
bus.h
class.c usb: typec: Add the missed altmode_id_remove() in typec_register_altmode() 2021-06-17 15:39:33 +02:00
class.h
hd3ss3220.c
mux.c Linux 5.13-rc6 2021-06-14 09:18:07 +02:00
mux.h
port-mapper.c
qcom-pmic-typec.c
stusb160x.c usb: typec: stusb160x: Don't block probing of consumer of "connector" nodes 2021-07-21 09:16:40 +02:00