mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
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:
parent
5494085c90
commit
c32d8edb54
1 changed files with 6 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue