diff options
Diffstat (limited to 'drivers/input/input.c')
-rw-r--r-- | drivers/input/input.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c index 8ff92aa13a0a..e54e002665b0 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c | |||
@@ -33,6 +33,15 @@ MODULE_LICENSE("GPL"); | |||
33 | * EV_ABS events which should not be cached are listed here. | 33 | * EV_ABS events which should not be cached are listed here. |
34 | */ | 34 | */ |
35 | static unsigned int input_abs_bypass_init_data[] __initdata = { | 35 | static unsigned int input_abs_bypass_init_data[] __initdata = { |
36 | ABS_MT_TOUCH_MAJOR, | ||
37 | ABS_MT_TOUCH_MINOR, | ||
38 | ABS_MT_WIDTH_MAJOR, | ||
39 | ABS_MT_WIDTH_MINOR, | ||
40 | ABS_MT_ORIENTATION, | ||
41 | ABS_MT_POSITION_X, | ||
42 | ABS_MT_POSITION_Y, | ||
43 | ABS_MT_TOOL_TYPE, | ||
44 | ABS_MT_BLOB_ID, | ||
36 | 0 | 45 | 0 |
37 | }; | 46 | }; |
38 | static unsigned long input_abs_bypass[BITS_TO_LONGS(ABS_CNT)]; | 47 | static unsigned long input_abs_bypass[BITS_TO_LONGS(ABS_CNT)]; |
@@ -169,6 +178,10 @@ static void input_handle_event(struct input_dev *dev, | |||
169 | disposition = INPUT_PASS_TO_HANDLERS; | 178 | disposition = INPUT_PASS_TO_HANDLERS; |
170 | } | 179 | } |
171 | break; | 180 | break; |
181 | case SYN_MT_REPORT: | ||
182 | dev->sync = 0; | ||
183 | disposition = INPUT_PASS_TO_HANDLERS; | ||
184 | break; | ||
172 | } | 185 | } |
173 | break; | 186 | break; |
174 | 187 | ||