disp: msm: dsi: enable ESD trigger through debugfs in trsuted-vm
Add support to trigger ESD through debugfs by directly modifying the reset GPIOs TLMM register in trusted-vm as GPIO driver support is not enabled. Change-Id: I859affe69c13dbe115a48b0a63a600a57027db58 Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
此提交包含在:
@@ -1529,7 +1529,8 @@ static ssize_t debugfs_esd_trigger_check(struct file *file,
|
||||
|
||||
if (display->esd_trigger) {
|
||||
DSI_INFO("ESD attack triggered by user\n");
|
||||
rc = dsi_panel_trigger_esd_attack(display->panel);
|
||||
rc = dsi_panel_trigger_esd_attack(display->panel,
|
||||
display->trusted_vm_env);
|
||||
if (rc) {
|
||||
DSI_ERR("Failed to trigger ESD attack\n");
|
||||
goto error;
|
||||
|
新增問題並參考
封鎖使用者