Skip to content

Commit 5258dfd

Browse files
committed
usb: typec: altmodes/displayport: fixup drm internal api change vs new user.
usb: typec: altmodes/displayport: Signal hpd low when exiting mode and drm: Add HPD state to drm_connector_oob_hotplug_event() sideswiped each other. Signal disconnected always. Signed-off-by: Dave Airlie <airlied@redhat.com>
1 parent 0ecf4aa commit 5258dfd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/usb/typec/altmodes/displayport.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,8 @@ static int dp_altmode_vdm(struct typec_altmode *alt,
306306
dp->data.status = 0;
307307
dp->data.conf = 0;
308308
if (dp->hpd) {
309-
drm_connector_oob_hotplug_event(dp->connector_fwnode);
309+
drm_connector_oob_hotplug_event(dp->connector_fwnode,
310+
connector_status_disconnected);
310311
dp->hpd = false;
311312
sysfs_notify(&dp->alt->dev.kobj, "displayport", "hpd");
312313
}

0 commit comments

Comments
 (0)