usb: typec: altmodes/displayport: send configure message on sop'
authorRD Babiera <rdbabiera@google.com>
Fri, 23 Feb 2024 00:23:03 +0000 (00:23 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Mar 2024 13:06:36 +0000 (13:06 +0000)
commit5424a44276ee60d39335ba037c7e142fad4a259a
tree1eedb550c08fab5b2907128d6a7678a2cda44259
parent0e28790195fa65fde41fa127a89e0903388f6285
usb: typec: altmodes/displayport: send configure message on sop'

When the port is setting the pin configuration when no configuration is
chosen, the DisplayPort driver will not send Configure to the cable plug
if it's available. Add transition to DP_STATE_CONFIGURE_PRIME.

Fixes: 71ba4fe56656 ("usb: typec: altmodes/displayport: add SOP' support")
Signed-off-by: RD Babiera <rdbabiera@google.com>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20240223002302.3937235-2-rdbabiera@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/altmodes/displayport.c