Input: ALPS - fix V8+ protocol handling (73 03 28)
authorMasaki Ota <masaki.ota@jp.alps.com>
Fri, 17 Mar 2017 21:10:57 +0000 (14:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Mar 2017 07:41:22 +0000 (09:41 +0200)
commit81643d000315229e5ff13cff943a69da9ab92a80
treeeb5f77e5ab5c5a4ff933a38ffb28d59ebbbe7278
parent9e13bcef24691b44c4de1257ba1ab6d2b8a43440
Input: ALPS - fix V8+ protocol handling (73 03 28)

commit e7348396c6d51b57c95c6646c390cd078e038e19 upstream.

Devices identified as E7="73 03 28" use slightly modified version of V8
protocol, with lower count per electrode, different offsets, and different
feature bits in OTP data.

Fixes: aeaa881f9b17 ("Input: ALPS - set DualPoint flag for 74 03 28 devices")
Signed-off-by: Masaki Ota <masaki.ota@jp.alps.com>
Acked-by: Pali Rohar <pali.rohar@gmail.com>
Tested-by: Paul Donohue <linux-kernel@PaulSD.com>
Tested-by: Nick Fletcher <nick.m.fletcher@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/mouse/alps.c
drivers/input/mouse/alps.h