android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
RD Babiera 38c00a22d6 usb: typec: altmodes/displayport: Fix configure initial pin assignment
commit eddebe39602efe631b83ff8d03f26eba12cfd760 upstream.

While determining the initial pin assignment to be sent in the configure
message, using the DP_PIN_ASSIGN_DP_ONLY_MASK mask causes the DFP_U to
send both Pin Assignment C and E when both are supported by the DFP_U and
UFP_U. The spec (Table 5-7 DFP_U Pin Assignment Selection Mandates,
VESA DisplayPort Alt Mode Standard v2.0) indicates that the DFP_U never
selects Pin Assignment E when Pin Assignment C is offered.

Update the DP_PIN_ASSIGN_DP_ONLY_MASK conditional to intially select only
Pin Assignment C if it is available.

Fixes: 0e3bb7d689 ("usb: typec: Add driver for DisplayPort alternate mode")
Cc: [email protected]
Signed-off-by: RD Babiera <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2023-04-20 12:07:33 +02:00
..
atm
c67x00
cdns3 usb: cdns3: Fix issue with using incorrect PCI device function 2023-04-05 11:16:40 +02:00
chipidea usb: chipidea: core: fix possible concurrent when switch role 2023-04-05 11:16:41 +02:00
class USB: cdc-acm: Add Icom PMR F3400 support (0c26:0020) 2022-09-15 12:04:52 +02:00
common Revert "usb: ulpi: defer ulpi_register on ulpi_read_id timeout" 2023-01-18 11:42:06 +01:00
core USB: core: Don't hold device lock while reading the "descriptors" sysfs file 2023-03-03 11:41:49 +01:00
dwc2 usb: dwc2: fix wrong order of phy_power_on and phy_init 2022-09-15 12:04:52 +02:00
dwc3 usb: dwc3: qcom: enable vbus override when in OTG dr-mode 2023-02-22 12:50:26 +01:00
early
gadget treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD() 2023-04-20 12:07:32 +02:00
host xhci: also avoid the XHCI_ZERO_64B_REGS quirk with a passthrough iommu 2023-04-20 12:07:33 +02:00
image
isp1760
misc USB: misc: iowarrior: fix up header size for USB_DEVICE_ID_CODEMERCS_IOW100 2023-01-24 07:18:00 +01:00
mon usb: mon: make mmapped memory read only 2022-10-15 07:54:38 +02:00
mtu3
musb usb: musb: remove extra check in musb_gadget_vbus_draw 2023-01-18 11:40:49 +01:00
phy
renesas_usbhs usb: renesas: Fix refcount leak bug 2022-08-25 11:18:33 +02:00
roles usb: roles: fix of node refcount leak in usb_role_switch_is_parent() 2023-01-18 11:41:24 +01:00
serial USB: serial: cp210x: add Silicon Labs IFS-USB-DATACABLE IDs 2023-04-20 12:07:33 +02:00
storage uas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS583Gen 2 2023-04-05 11:16:39 +02:00
typec usb: typec: altmodes/displayport: Fix configure initial pin assignment 2023-04-20 12:07:33 +02:00
usbip
Kconfig
Makefile
usb-skeleton.c