diff options
Diffstat (limited to 'drivers/input/input.c')
-rw-r--r-- | drivers/input/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c index 1f78c957a75a..8921c6180c51 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c | |||
@@ -180,7 +180,7 @@ static int input_handle_abs_event(struct input_dev *dev, | |||
180 | return INPUT_IGNORE_EVENT; | 180 | return INPUT_IGNORE_EVENT; |
181 | } | 181 | } |
182 | 182 | ||
183 | is_mt_event = code >= ABS_MT_FIRST && code <= ABS_MT_LAST; | 183 | is_mt_event = input_is_mt_value(code); |
184 | 184 | ||
185 | if (!is_mt_event) { | 185 | if (!is_mt_event) { |
186 | pold = &dev->absinfo[code].value; | 186 | pold = &dev->absinfo[code].value; |