pmaports/device/testing/linux-oneplus-msm8998/0003-fix-synaptics_s3320-touchscreen-driver-input.patch
Jami Kettunen dbdb5d5b3f
oneplus-cheeseburger: rename kernel package to linux-oneplus-msm8998 (!1110)
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.
2020-03-28 22:30:14 +02:00

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);