android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Xu Yang 9d93cfdaf8 usb: typec: tcpm: handle SRC_STARTUP state if cc changes
commit 6d91017a295e9790eec02c4e43f020cdb55f5d98 upstream.

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: <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Acked-by: Heikki Krogerus <[email protected]>
Signed-off-by: Xu Yang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2021-10-13 10:08:16 +02:00
..
atm
c67x00
cdns3 usb: cdns3: fix race condition before setting doorbell 2021-10-06 15:42:30 +02:00
chipidea usb: chipidea: host: fix port index underflow and UBSAN complains 2021-09-22 12:26:33 +02:00
class USB: cdc-acm: fix break reporting 2021-10-13 10:08:16 +02:00
common Partially revert "usb: Kconfig: using select for USB_COMMON dependency" 2021-10-13 10:08:16 +02:00
core usb: core: hcd: Add support for deferring roothub registration 2021-09-30 10:09:21 +02:00
dwc2 usb: dwc2: check return value after calling platform_get_resource() 2021-10-09 14:39:49 +02:00
dwc3 usb: dwc3: gadget: Stop EP0 transfers during pullup disable 2021-09-03 10:08:13 +02:00
early
gadget usb: gadget: r8a66597: fix a loop in set_feature() 2021-09-30 10:09:20 +02:00
host xhci: Set HCD flag to defer primary roothub registration 2021-09-30 10:09:22 +02:00
image
isp1760
misc USB: trancevibrator: fix control-request direction 2021-06-03 08:59:04 +02:00
mon
mtu3 usb: mtu3: fix the wrong HS mult value 2021-09-12 08:56:41 +02:00
musb usb: musb: tusb6010: uninitialized data in tusb_fifo_write_unaligned() 2021-09-30 10:09:20 +02:00
phy usb: phy: tahvo: add IRQ check 2021-09-15 09:47:35 +02:00
renesas_usbhs usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop() 2021-07-28 13:31:00 +02:00
roles
serial USB: serial: option: add device id for Foxconn T99W265 2021-09-30 10:09:22 +02:00
storage Re-enable UAS for LaCie Rugged USB3-FW with fk quirk 2021-09-30 10:09:21 +02:00
typec usb: typec: tcpm: handle SRC_STARTUP state if cc changes 2021-10-13 10:08:16 +02:00
usbip usbip:vhci_hcd USB port can get stuck in the disabled state 2021-09-22 12:26:35 +02:00
Kconfig
Makefile
usb-skeleton.c