Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36685664 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "disp: msm: dp: reset disconnect flags on cable hotplug"

parents 38f560fb 11bb969e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -158,6 +158,7 @@ static int dp_altmode_notify(void *priv, void *data, size_t len)
	if (!altmode->connected) {
		altmode->connected = true;
		altmode->dp_altmode.base.alt_mode_cfg_done = true;
		altmode->forced_disconnect = false;

		switch (orientation) {
		case 0:
+1 −0
Original line number Diff line number Diff line
@@ -403,6 +403,7 @@ static void dp_usbpd_response_cb(struct usbpd_svid_handler *hdlr, u8 cmd,
	case DP_USBPD_VDM_CONFIGURE:
		pd->alt_mode |= DP_USBPD_ALT_MODE_CONFIGURE;
		pd->dp_usbpd.base.alt_mode_cfg_done = true;
		pd->forced_disconnect = false;
		dp_usbpd_get_status(pd);

		pd->dp_usbpd.base.orientation =