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: Srihitha Tangudu <tangudu@codeaurora.org>
This commit is contained in:
parent
6c7d4ccc36
commit
f6d96209a5
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user