mfd: cpcap-3mm5: Fix for missing key event on resume
The key_handler was checking the sense bits to see whether a press
or release occurred. The problem with this is it takes so long to
resume from LP0/LP1, that the key state could have changed again
before the handler has even ran. The driver would see the key was
currently released, which was the same state it last reported, and
not send a new event.
This patch changes the handler so it does not check the sense bits.
It simply sends a press when the MB2 interrupt occurs and a release
when the MACRO_5 interrupt occurs.
This fixes the kernel portion of bug
3225781.
Change-Id: I38a89417a0053315c93dc6c696a34a8974252d2a
Signed-off-by: Greg Meiste <w30289@motorola.com>