diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-08-02 21:35:17 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-08-02 21:35:17 -0400 |
| commit | d01d0756f75e7a5b4b43764ad45b83c4340f11d6 (patch) | |
| tree | 90db2ff7ccb35a8fdcf98366e6404afe1f845bc4 /drivers/hid/hid-input.c | |
| parent | b326b853dca2f410b254198ee89abad71a2f4668 (diff) | |
| parent | 0d87c7228a49e8342d60dd552892e470e0b291fa (diff) | |
Merge branch 'next' into for-linus
Diffstat (limited to 'drivers/hid/hid-input.c')
| -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 && |
