Input: mpr121 - set missing event capability
authorAkinobu Mita <akinobu.mita@gmail.com>
Sun, 15 Jan 2017 22:44:05 +0000 (14:44 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Nov 2017 14:53:16 +0000 (15:53 +0100)
commita3a76ea2c072dda34d1ad1e5bf40cdfa51157e35
treec687949743ed67480752cd48e7a77c3475646255
parent260e2e82c247a6f8601f3546b6f05c55b6dc0734
Input: mpr121 - set missing event capability

[ Upstream commit 9723ddc8fe0d76ce41fe0dc16afb241ec7d0a29d ]

This driver reports misc scan input events on the sensor's status
register changes.  But the event capability for them was not set in the
device initialization, so these events were ignored.

This change adds the missing event capability.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/keyboard/mpr121_touchkey.c