mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
drivers/TP: 2ed nt36528 support high resolution 4x v2 fix
Fogo 5G NA 2ed Touch. support high resolution 4x. Change-Id: I3a0b8490fb13fef9fc3c1972442a18ebd633e3b2 Signed-off-by: lixuehan <hq126@motorola.com> Reviewed-on: https://gerrit.mot.com/2737280 Reviewed-by: Jun Weng <wengjun1@motorola.com> SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
0fd5d8d4ec
commit
5b4b2e708c
1 changed files with 2 additions and 2 deletions
|
|
@ -1945,7 +1945,7 @@ static irqreturn_t nvt_ts_work_func(int irq, void *data)
|
|||
|
||||
#ifdef PALM_GESTURE
|
||||
if ((point_data[position] & 0x07) == PALM_TOUCH) { //palm
|
||||
#if CONFIG_INPUT_HIGH_RESOLUTION_N
|
||||
#ifdef CONFIG_INPUT_HIGH_RESOLUTION_N
|
||||
input_p = (uint32_t)(point_data[1 + 98 + i]);
|
||||
#else
|
||||
input_p = (uint32_t)(point_data[position + 5]);
|
||||
|
|
@ -1963,7 +1963,7 @@ static irqreturn_t nvt_ts_work_func(int irq, void *data)
|
|||
} else
|
||||
#endif
|
||||
{
|
||||
#if CONFIG_INPUT_HIGH_RESOLUTION_N
|
||||
#ifdef CONFIG_INPUT_HIGH_RESOLUTION_N
|
||||
input_p = (uint32_t)(point_data[position + 98 + i]);
|
||||
#else
|
||||
if (i < 2) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue