input: touchscreen: tinker_ft5406: Enable multipoint function
authorChanghuang Liang <changhuang.liang@starfivetech.com>
Mon, 9 Jan 2023 03:13:11 +0000 (11:13 +0800)
committerChanghuang Liang <changhuang.liang@starfivetech.com>
Mon, 9 Jan 2023 03:13:11 +0000 (11:13 +0800)
Enable multipoint function.

Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
drivers/input/touchscreen/tinker_ft5406.c

index 42d9435..7df01ed 100644 (file)
@@ -38,7 +38,7 @@
 #define FT_REG_FW_SUB_MIN_VER  0xB3
 
 #define VALID_TD_STATUS_VAL            10
-#define MAX_TOUCH_POINTS               1
+#define MAX_TOUCH_POINTS               5
 
 #define FT_PRESS                       0x7F
 #define FT_MAX_ID                      0x0F