|
@@ -544,14 +544,14 @@ static ssize_t dp_debug_write_mst_con_id(struct file *file,
|
|
|
|
|
|
debug->mst_con_id = con_id;
|
|
|
|
|
|
+ if (status == connector_status_unknown)
|
|
|
+ goto out;
|
|
|
+
|
|
|
if (status == connector_status_connected)
|
|
|
DP_INFO("plug mst connector %d\n", con_id);
|
|
|
- else
|
|
|
+ else if (status == connector_status_disconnected)
|
|
|
DP_INFO("unplug mst connector %d\n", con_id);
|
|
|
|
|
|
- if (status == connector_status_unknown)
|
|
|
- goto out;
|
|
|
-
|
|
|
mst_port = sde_conn->mst_port;
|
|
|
dp_panel = sde_conn->drv_panel;
|
|
|
|