mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
dlkm: himax touch driver improvement
- When the driver open HX_FIX_TOUCH_INFO, the driver does not fix the expected value, so improve the logic of this part. - Delete unnecessary logs. Change-Id: I1b51a70a1e2aaebeb20e91de14a2c60268bbcd2c Signed-off-by: wengjun1 <wengjun1@motorola.com> Reviewed-on: https://gerrit.mot.com/1536264 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Dezhen Hou <houdz1@motorola.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
9b080c1359
commit
07251708de
1 changed files with 8 additions and 1 deletions
|
|
@ -2209,6 +2209,14 @@ static void himax_mcu_touch_information(void)
|
|||
if (err_cnt > 0)
|
||||
E("TP Info from IC is wrong, err_cnt = 0x%X", err_cnt);
|
||||
}
|
||||
#else
|
||||
ic_data->HX_RX_NUM = FIX_HX_RX_NUM;
|
||||
ic_data->HX_TX_NUM = FIX_HX_TX_NUM;
|
||||
ic_data->HX_MAX_PT = FIX_HX_MAX_PT;
|
||||
ic_data->HX_XY_REVERSE = FIX_HX_XY_REVERSE;
|
||||
ic_data->HX_Y_RES = FIX_HX_X_RES;
|
||||
ic_data->HX_X_RES = FIX_HX_Y_RES;
|
||||
ic_data->HX_INT_IS_EDGE = FIX_HX_INT_IS_EDGE;
|
||||
|
||||
#endif
|
||||
I("%s:HX_RX_NUM =%d,HX_TX_NUM =%d,HX_MAX_PT=%d\n", __func__, ic_data->HX_RX_NUM, ic_data->HX_TX_NUM, ic_data->HX_MAX_PT);
|
||||
|
|
@ -2708,7 +2716,6 @@ int hx_parse_bin_cfg_data(const struct firmware *fw_entry, struct zf_info *zf_in
|
|||
memset(ovl_idx, 0, ovl_section_num);
|
||||
}
|
||||
#endif
|
||||
I("wj 83102D %s\n", __func__);
|
||||
/*1. get number of partition*/
|
||||
part_num = fw_entry->data[HX64K + 12];
|
||||
I("%s, Number of partition is %d\n", __func__, part_num);
|
||||
|
|
|
|||
Loading…
Reference in a new issue