motorola:Rhodec:Update chipone_fhd_mmi

Modify:
 Prevent the module from being disconnected when starting up.


Change-Id: I6f4cbe2d24ec9673f38b0b0589aae323f6b7c240
Reviewed-on: https://gerrit.mot.com/2279582
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
wingte49 2022-05-25 19:49:56 +08:00 • committed by bijiaming01
commit c32d8edb54

View file

@ -1079,12 +1079,15 @@ int cts_tcs_reset_device(const struct cts_device *cts_dev)
bool use_soft_tp_reset;
int ret;
if (cts_dev->hwdata->hwid == CTS_DEV_HWID_ICNL9916)
if (!cts_dev->hwdata) {
use_soft_tp_reset = true;
} else if (cts_dev->hwdata->hwid == CTS_DEV_HWID_ICNL9916) {
use_soft_tp_reset = false;
else if (cts_dev->hwdata->hwid == CTS_DEV_HWID_ICNL9922)
} else if (cts_dev->hwdata->hwid == CTS_DEV_HWID_ICNL9922) {
use_soft_tp_reset = true;
else
} else {
use_soft_tp_reset = true;
}
cts_info("use_soft_tp_reset=%d", use_soft_tp_reset);
if (use_soft_tp_reset) {