]> git.baikalelectronics.ru Git - kernel.git/commit
Input: elantech - fix V4 report decoding for module with middle key
author??? <kt.liao@emc.com.tw>
Fri, 22 Jun 2018 00:15:32 +0000 (17:15 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 22 Jun 2018 00:20:11 +0000 (17:20 -0700)
commit872e3e635a95dd6a28fa9f57456420059a5eb915
treefb652054b8b05e42b992e3cee5c31f27dccebc99
parent40a1ad517de9e992f3b520ff8526fde664de6783
Input: elantech - fix V4 report decoding for module with middle key

Some touchpad has middle key and it will be indicated in bit 2 of packet[0].
We need to fix V4 formation's byte mask to prevent error decoding.

Signed-off-by: KT Liao <kt.liao@emc.com.tw>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/elantech.c