diff options
author | RD Babiera <rdbabiera@google.com> | 2023-07-26 02:09:02 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-08-16 18:27:24 +0200 |
commit | 6f75e09343549e9908bc88c88890f9a3759c8a04 (patch) | |
tree | ce97ead30985fdb4e885795dd3615db58b6a4d1d /kernel/irq | |
parent | 57b8f5fb8f17e5b32e08ed6e5d136eaea3c7292e (diff) | |
download | linux-stable-6f75e09343549e9908bc88c88890f9a3759c8a04.tar.gz linux-stable-6f75e09343549e9908bc88c88890f9a3759c8a04.tar.bz2 linux-stable-6f75e09343549e9908bc88c88890f9a3759c8a04.zip |
usb: typec: altmodes/displayport: Signal hpd when configuring pin assignment
commit 5a5ccd61cfd76156cb3e0373c300c509d05448ce upstream.
When connecting to some DisplayPort partners, the initial status update
after entering DisplayPort Alt Mode notifies that the DFP_D/UFP_D is not in
the connected state. This leads to sending a configure message that keeps
the device in USB mode. The port partner then sets DFP_D/UFP_D to the
connected state and HPD to high in the same Attention message. Currently,
the HPD signal is dropped in order to handle configuration.
This patch saves changes to the HPD signal when the device chooses to
configure during dp_altmode_status_update, and invokes sysfs_notify if
necessary for HPD after configuring.
Fixes: 0e3bb7d6894d ("usb: typec: Add driver for DisplayPort alternate mode")
Cc: stable@vger.kernel.org
Signed-off-by: RD Babiera <rdbabiera@google.com>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20230726020903.1409072-1-rdbabiera@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/irq')
0 files changed, 0 insertions, 0 deletions