Merge tag 'v4.4-rc8'
[firefly-linux-kernel-4.4.55.git] / drivers / input / touchscreen / goodix_touch_82x.c
index 8a8d0e1a145b9b75c2c8d564dca9826268863f59..8012a3db48e5d9e25923df130630f6330cef202b 100755 (executable)
@@ -390,7 +390,7 @@ COORDINATE_POLL:
                                        Y_value = pdata->ymax - Y_value;
                                
                                input_report_abs(ts->input_dev, ABS_MT_POSITION_X, X_value);  //can change x-y!!!
-                               input_report_abs(ts->input_dev, ABS_MT_POSITION_Y, Y_value);
+                               input_report_abs(ts->input_dev, ABS_MT_POSITION_Y, 600-Y_value);
                                //input_report_abs(ts->input_dev, ABS_MT_TOUCH_MAJOR,15);
                                //input_mt_sync(ts->input_dev);
                                i += 5;