Commit 0e5dc555 authored by RD Babiera's avatar RD Babiera Committed by Treehugger Robot
Browse files

BACKPORT: usb: typec: altmodes/displayport: Signal hpd low when exiting mode



Upon receiving an ACK for a sent EXIT_MODE message, the DisplayPort
driver currently resets the status and configuration of the port
partner. The hpd signal is not updated despite being part of the
status, so the Display stack can still transmit video despite
typec_altmode_exit placing the lanes in a Safe State.

Set hpd to low when a sent EXIT_MODE message is ACK'ed.

Fixes: 0e3bb7d6 ("usb: typec: Add driver for DisplayPort alternate mode")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarRD Babiera <rdbabiera@google.com>
Acked-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20231009210057.3773877-2-rdbabiera@google.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 297208252
Bug: 308184880
Bug: 308450397
(cherry picked from commit 89434b06)
[rd: removed unused call to drm_connector_oob_hotplug_event]
Signed-off-by: default avatarRD Babiera <rdbabiera@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:501954e892e62f836e34fe49c2a3926b463ea72d)
Merged-In: Iad61fa4db6b126db7fc3bd717b60c2ca35da1311
Change-Id: Iad61fa4db6b126db7fc3bd717b60c2ca35da1311
parent f20a88e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment