Merge "disp: msm: dsi: disable ESD te_signal_check option"

Dieser Commit ist enthalten in:
qctecmdr
2021-06-01 22:31:17 -07:00
committet von Gerrit - the friendly Code Review server
Commit 78826018f3

Datei anzeigen

@@ -1715,14 +1715,9 @@ static ssize_t debugfs_alter_esd_check_mode(struct file *file,
}
if (!strcmp(buf, "te_signal_check\n")) {
if (display->panel->panel_mode == DSI_OP_VIDEO_MODE) {
DSI_INFO("TE based ESD check for Video Mode panels is not allowed\n");
rc = -EINVAL;
goto error;
}
DSI_INFO("ESD check is switched to TE mode by user\n");
esd_config->status_mode = ESD_MODE_PANEL_TE;
dsi_display_change_te_irq_status(display, true);
DSI_INFO("TE based ESD check for panels is not allowed\n");
rc = -EINVAL;
goto error;
}
if (!strcmp(buf, "reg_read\n")) {