diff options
author | Vittorio Gambaletta (VittGam) <[email protected]> | 2018-04-25 15:22:13 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2018-05-01 11:35:33 -0700 |
commit | f372b81101e6895252298e563d634d5e44ae81e7 (patch) | |
tree | ce0eff3cc85d79d405fd599e3b7e45bc4c0ba90c | |
parent | 596ea7aad431cb88d7a6f3a2b6019cf3221b8d02 (diff) |
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 <[email protected]>
Signed-off-by: Salvatore Bellizzi <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Cc: [email protected]
[dtor: adjusted vendor spelling to match shipping firmware]
Signed-off-by: Dmitry Torokhov <[email protected]>
-rw-r--r-- | drivers/input/touchscreen/atmel_mxt_ts.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c index 7659bc48f1db..429b694405c7 100644 --- a/drivers/input/touchscreen/atmel_mxt_ts.c +++ b/drivers/input/touchscreen/atmel_mxt_ts.c @@ -3031,6 +3031,15 @@ static const struct dmi_system_id mxt_dmi_table[] = { .driver_data = samus_platform_data, }, { + /* Samsung Chromebook Pro */ + .ident = "Samsung Chromebook Pro", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Google"), + DMI_MATCH(DMI_PRODUCT_NAME, "Caroline"), + }, + .driver_data = samus_platform_data, + }, + { /* Other Google Chromebooks */ .ident = "Chromebook", .matches = { |