Skip to content

Instantly share code, notes, and snippets.

diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c
index 4d113c9..51d8437 100644
--- a/drivers/input/touchscreen/goodix.c
+++ b/drivers/input/touchscreen/goodix.c
@@ -160,6 +160,8 @@ static void goodix_ts_report_touch(struct goodix_ts_data *ts, u8 *coor_data)
input_y = ts->abs_y_max - input_y;
}
+ input_x = ts->abs_x_max - input_x;
+
root@universal_5410:/sys/kernel/debug/ion # ls -l
ls -l
-rw-rw-r-- root root 0 1970-01-01 01:00 1
-rw-rw-r-- root root 0 2015-08-21 11:19 2475
-rw-rw-r-- root root 0 2015-08-21 11:19 2477
-rw-rw-r-- root root 0 2015-08-21 11:19 2494
-rw-rw-r-- root root 0 2015-08-21 11:19 2685
-rw-rw-r-- root root 0 2015-08-21 11:19 3164
-rw-rw-r-- root root 0 2015-08-21 11:19 3305
-rw-rw-r-- root root 0 2015-08-21 11:19 3799