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

Commit 5290ac6f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drm/msm/dsi-staging: add logs for debugfs nodes" into dev/msm-4.14-display

parents 9327317f f92cc233
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1200,6 +1200,7 @@ static ssize_t debugfs_esd_trigger_check(struct file *file,
	display->esd_trigger = esd_trigger;

	if (display->esd_trigger) {
		pr_info("ESD attack triggered by user\n");
		rc = dsi_panel_trigger_esd_attack(display->panel);
		if (rc) {
			pr_err("Failed to trigger ESD attack\n");
@@ -1256,11 +1257,13 @@ static ssize_t debugfs_alter_esd_check_mode(struct file *file,
		goto error;

	if (!strcmp(buf, "te_signal_check\n")) {
		pr_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);
	}

	if (!strcmp(buf, "reg_read\n")) {
		pr_info("ESD check is switched to reg read by user\n");
		rc = dsi_panel_parse_esd_reg_read_configs(display->panel);
		if (rc) {
			pr_err("failed to alter esd check mode,rc=%d\n",