diff options
-rw-r--r-- | drivers/hid/hid-input.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c index 7a0d2e4661a1..69d152e16a6a 100644 --- a/drivers/hid/hid-input.c +++ b/drivers/hid/hid-input.c | |||
@@ -534,6 +534,9 @@ mapped: | |||
534 | input_set_abs_params(input, usage->code, a, b, (b - a) >> 8, (b - a) >> 4); | 534 | input_set_abs_params(input, usage->code, a, b, (b - a) >> 8, (b - a) >> 4); |
535 | else input_set_abs_params(input, usage->code, a, b, 0, 0); | 535 | else input_set_abs_params(input, usage->code, a, b, 0, 0); |
536 | 536 | ||
537 | /* use a larger default input buffer for MT devices */ | ||
538 | if (usage->code == ABS_MT_POSITION_X && input->hint_events_per_packet == 0) | ||
539 | input_set_events_per_packet(input, 60); | ||
537 | } | 540 | } |
538 | 541 | ||
539 | if (usage->type == EV_ABS && | 542 | if (usage->type == EV_ABS && |