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:
lixuehan authored and hq131 committed 2023-09-12 07:46:31 -05:00
1 parent 0fd5d8d4ec
commit 5b4b2e708c
1 file changed
+2 -2
@@ -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) {