Input: atmel_mxt_ts - add touchpad button mapping for Samsung Chromebook Pro
authorVittorio Gambaletta (VittGam) <linuxbugs@vittgam.net>
Wed, 25 Apr 2018 22:22:13 +0000 (15:22 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 1 May 2018 18:35:33 +0000 (11:35 -0700)
commitf372b81101e6895252298e563d634d5e44ae81e7
treece0eff3cc85d79d405fd599e3b7e45bc4c0ba90c
parent596ea7aad431cb88d7a6f3a2b6019cf3221b8d02
Input: atmel_mxt_ts - add touchpad button mapping for Samsung Chromebook Pro

This patch adds the correct platform data information for the Caroline
Chromebook, so that the mouse button does not get stuck in pressed state
after the first click.

The Samus button keymap and platform data definition are the correct
ones for Caroline, so they have been reused here.

Signed-off-by: Vittorio Gambaletta <linuxbugs@vittgam.net>
Signed-off-by: Salvatore Bellizzi <lkml@seppia.net>
Tested-by: Guenter Roeck <groeck@chromium.org>
Cc: stable@vger.kernel.org
[dtor: adjusted vendor spelling to match shipping firmware]
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/atmel_mxt_ts.c