Input: do not try to filter out events if handler is not a filter
authorAnshul Garg <aksgarg1989@gmail.com>
Thu, 8 Jan 2015 21:47:37 +0000 (13:47 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 8 Jan 2015 21:53:34 +0000 (13:53 -0800)
commit2c50ad340c246b7f58f2d916006afe2d85d60698
treeb810cc1e06366b50eaba8d5ef71f71758b99c87a
parent5ab17145708e6ad4582b0372fb3a171be3379293
Input: do not try to filter out events if handler is not a filter

If given input handler is not a filter there is no point is iterating list
of events in a packet to see if some of them need to be filtered out.

Signed-off-by: Anshul Garg <anshul.g@samsung.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/input.c