]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Input: mpr121 - handle multiple bits change of status register
authorAkinobu Mita <akinobu.mita@gmail.com>
Sun, 15 Jan 2017 22:44:30 +0000 (14:44 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 15 Jan 2017 23:08:44 +0000 (15:08 -0800)
commit08fea55e37f58371bffc5336a59e55d1f155955a
treead229ab7a9562d56d3ce17ee3324c847f6aa4898
parent9723ddc8fe0d76ce41fe0dc16afb241ec7d0a29d
Input: mpr121 - handle multiple bits change of status register

This driver reports input events on their interrupts which are triggered
by the sensor's status register changes.  But only single bit change is
reported in the interrupt handler.  So if there are multiple bits are
changed at almost the same time, other press or release events are ignored.

This fixes it by detecting all changed bits in the status register.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/mpr121_touchkey.c