diff options
author | RD Babiera <[email protected]> | 2023-03-29 21:51:59 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-04-05 19:20:12 +0200 |
commit | eddebe39602efe631b83ff8d03f26eba12cfd760 (patch) | |
tree | 6538b34575b322caedfd7979fb16ef7abb74ceef /lib/mpi/mpi-mul.c | |
parent | ec799c8a92e0be91e0940cc739a27f483242df65 (diff) |
usb: typec: altmodes/displayport: Fix configure initial pin assignment
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: 0e3bb7d6894d ("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]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions