dbdb5d5b3f
This is in preparation for adding in support for the OnePlus 5T (dumpling) on top of the regular OnePlus 5 (cheeseburger). Both devices use the same kernel so the name change just makes sense.
11 lines
604 B
Diff
11 lines
604 B
Diff
--- a/drivers/input/touchscreen/synaptics_driver_s3320.c
|
|
+++ b/drivers/input/touchscreen/synaptics_driver_s3320.c
|
|
@@ -2878,7 +2878,7 @@ static int synaptics_input_init(struct synaptics_ts_data *ts)
|
|
set_bit(EV_ABS, ts->input_dev->evbit);
|
|
set_bit(EV_KEY, ts->input_dev->evbit);
|
|
set_bit(ABS_MT_TOUCH_MAJOR, ts->input_dev->absbit);
|
|
- set_bit(ABS_MT_WIDTH_MAJOR, ts->input_dev->absbit);
|
|
+// set_bit(ABS_MT_WIDTH_MAJOR, ts->input_dev->absbit);
|
|
set_bit(ABS_MT_POSITION_X, ts->input_dev->absbit);
|
|
set_bit(ABS_MT_POSITION_Y, ts->input_dev->absbit);
|
|
set_bit(INPUT_PROP_DIRECT, ts->input_dev->propbit);
|