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

Commit f6d96209 authored by Srihitha Tangudu's avatar Srihitha Tangudu
Browse files

disp: msm: dsi: Fix deadlock issue in debugfs_esd_trigger_check function



In debugfs_esd_trigger_check, display mutex is not unlocked in error 
scenario which may lead to deadlock. This change adds fix to handle this.

Change-Id: I44d78959630a49bd1e9dcf871cfc108ac43232db
Signed-off-by: default avatarSrihitha Tangudu <tangudu@codeaurora.org>
parent 6c7d4ccc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1562,7 +1562,7 @@ static ssize_t debugfs_esd_trigger_check(struct file *file,
						display->trusted_vm_env);
		if (rc) {
			DSI_ERR("Failed to trigger ESD attack\n");
			goto error;
			goto unlock;
		}
	}