diff options
| -rw-r--r-- | drivers/input/touchscreen/gt9x_2.4/gt9xx.c | 4 | ||||
| -rw-r--r-- | drivers/input/touchscreen/gt9x_2.4/gt9xx.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/touchscreen/gt9x_2.4/gt9xx.c b/drivers/input/touchscreen/gt9x_2.4/gt9xx.c index 8678207bc9f2..4bb552baec12 100644 --- a/drivers/input/touchscreen/gt9x_2.4/gt9xx.c +++ b/drivers/input/touchscreen/gt9x_2.4/gt9xx.c @@ -492,7 +492,7 @@ static void gtp_pen_init(struct goodix_ts_data *ts) ts->pen_dev->evbit[0] = BIT_MASK(EV_SYN) | BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS) ; #if GTP_ICS_SLOT_REPORT - input_mt_init_slots(ts->pen_dev, 16); // + input_mt_init_slots(ts->pen_dev, 16, 0); // in case of "out of memory" #else ts->pen_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); #endif @@ -1865,7 +1865,7 @@ static s8 gtp_request_input_dev(struct goodix_ts_data *ts) ts->input_dev->evbit[0] = BIT_MASK(EV_SYN) | BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS) ; #if GTP_ICS_SLOT_REPORT - input_mt_init_slots(ts->input_dev, 16); // in case of "out of memory" + input_mt_init_slots(ts->input_dev, 16, 0); // in case of "out of memory" #else ts->input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); #endif diff --git a/drivers/input/touchscreen/gt9x_2.4/gt9xx.h b/drivers/input/touchscreen/gt9x_2.4/gt9xx.h index cc487a4452c9..4f9733bb0708 100644 --- a/drivers/input/touchscreen/gt9x_2.4/gt9xx.h +++ b/drivers/input/touchscreen/gt9x_2.4/gt9xx.h @@ -53,7 +53,7 @@ #define GTP_DRIVER_SEND_CFG 1 //driver send config #define GTP_HAVE_TOUCH_KEY 0 #define GTP_POWER_CTRL_SLEEP 0 //power off when suspend -#define GTP_ICS_SLOT_REPORT 0 // slot protocol +#define GTP_ICS_SLOT_REPORT 1 // slot protocol #define GTP_AUTO_UPDATE 1 // auto update fw by .bin file as default #define GTP_HEADER_FW_UPDATE 1 // auto update fw by gtp_default_FW in gt9xx_firmware.h, function together with GTP_AUTO_UPDATE |
