:tp:when tp sleep rst high

Change-Id: I63ea78a06be9cd9d2f4fed866d1b25ea6bce6fe1
WHY:need tp rst high
HOW:add tp pull function
Reviewed-on: https://gerrit.mot.com/2719699
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
longc 2023-08-24 17:48:25 +08:00 • committed by longc134
commit ee2732d814

View file

@ -1581,7 +1581,11 @@ int cts_suspend_device(struct cts_device *cts_dev)
cts_info("Device suspended ...");
cts_dev->rtdata.suspended = true;
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,15,0)
cts_info("rst -------- high");
cts_plat_set_reset(cts_dev->pdata, 1);
cts_info("rst -------- high++");
#endif
return 0;
}