Created
March 27, 2018 22:58
-
-
Save NotKit/d0acce00eea9d80512d541156278eda4 to your computer and use it in GitHub Desktop.
Fix OnePlus 2 touchscreen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/drivers/input/touchscreen/synaptics_driver_s3320.c b/drivers/input/touchscreen/synaptics_driver_s3320.c | |
index 79b184a0..f3d3872f 100644 | |
--- a/drivers/input/touchscreen/synaptics_driver_s3320.c | |
+++ b/drivers/input/touchscreen/synaptics_driver_s3320.c | |
@@ -2105,7 +2105,6 @@ 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_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); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment