From c22fd5c89335bc202bc5b498b3608fe0654b51d7 Mon Sep 17 00:00:00 2001 From: Kacper Date: Wed, 6 Mar 2024 19:39:47 +0100 Subject: [PATCH] Comment lines that are sending Touchscreen info to kernel log --- drivers/input/touchscreen/FT5436/focaltech_core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/input/touchscreen/FT5436/focaltech_core.c b/drivers/input/touchscreen/FT5436/focaltech_core.c index c3f55ea9a59e..0cbfd30c26e2 100644 --- a/drivers/input/touchscreen/FT5436/focaltech_core.c +++ b/drivers/input/touchscreen/FT5436/focaltech_core.c @@ -576,7 +576,7 @@ static void fts_report_value(struct fts_ts_data *data) input_report_key(data->input_dev, pdata->button_map[j], event->au8_touch_event[i] == FTS_TOUCH_DOWN || data->disable_keys); input_sync(data->input_dev); - pr_info("B[%d]: button %d, %d, %d, %d\n", i, pdata->button_map[j], event->au16_y[i], event->au16_x[i], event->au8_touch_event[i]); + /*pr_info("B[%d]: button %d, %d, %d, %d\n", i, pdata->button_map[j], event->au16_y[i], event->au16_x[i], event->au8_touch_event[i]);*/ break; } } @@ -595,12 +595,12 @@ static void fts_report_value(struct fts_ts_data *data) input_report_abs(data->input_dev, ABS_MT_POSITION_Y, event->au16_y[i]); touchs |= BIT(event->au8_finger_id[i]); data->touchs |= BIT(event->au8_finger_id[i]); - pr_info("F[%d]-%d: %d, %d, %d\n", i, event->au8_finger_id[i], event->au16_y[i], event->au16_x[i], event->au8_touch_event[i]); + /*pr_info("F[%d]-%d: %d, %d, %d\n", i, event->au8_finger_id[i], event->au16_y[i], event->au16_x[i], event->au8_touch_event[i]);*/ } else { uppoint++; input_mt_report_slot_state(data->input_dev, MT_TOOL_FINGER, false); data->touchs &= ~BIT(event->au8_finger_id[i]); - pr_info("F[%d]-%d: %d, %d, %d\n", i, event->au8_finger_id[i], event->au16_y[i], event->au16_x[i], event->au8_touch_event[i]); + /*pr_info("F[%d]-%d: %d, %d, %d\n", i, event->au8_finger_id[i], event->au16_y[i], event->au16_x[i], event->au8_touch_event[i]);*/ } } -- 2.34.1