Skip to content

Commit 10579ed

Browse files
VittGamgregkh
authored andcommitted
Input: atmel_mxt_ts - add touchpad button mapping for Samsung Chromebook Pro
commit f372b81 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 8949370 commit 10579ed

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

drivers/input/touchscreen/atmel_mxt_ts.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3030,6 +3030,15 @@ static const struct dmi_system_id mxt_dmi_table[] = {
30303030
},
30313031
.driver_data = samus_platform_data,
30323032
},
3033+
{
3034+
/* Samsung Chromebook Pro */
3035+
.ident = "Samsung Chromebook Pro",
3036+
.matches = {
3037+
DMI_MATCH(DMI_SYS_VENDOR, "Google"),
3038+
DMI_MATCH(DMI_PRODUCT_NAME, "Caroline"),
3039+
},
3040+
.driver_data = samus_platform_data,
3041+
},
30333042
{
30343043
/* Other Google Chromebooks */
30353044
.ident = "Chromebook",

0 commit comments

Comments
 (0)