diff options
author | Dmitry Torokhov | 2018-05-29 12:06:59 -0700 |
---|---|---|
committer | Benson Leung | 2018-05-29 15:11:04 -0700 |
commit | 683b647309fc8b4d9d176d2df994efc03f9f8073 (patch) | |
tree | dd581a841fa99065732255c88d5b463303b1c33f /drivers/platform/chrome | |
parent | 1eb89893ecaae25b4e01a2efc3cfdfa07b1da3ab (diff) |
platform/chrome: chromeos_laptop: fix touchpad button mapping on Celes
Celes has newer touch controller (compared to the controllers used in
older BayTrail-based devices) and so uses the same button mapping as
Samus.
This fixes the issue with mouse button being stuck in pressed state
after the first click.
Reported-by: Sultan Alsawaf <sultanxda@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Benson Leung <bleung@chromium.org>
Diffstat (limited to 'drivers/platform/chrome')
-rw-r--r-- | drivers/platform/chrome/chromeos_laptop.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/platform/chrome/chromeos_laptop.c b/drivers/platform/chrome/chromeos_laptop.c index 3cecf7933f75..24326eecd787 100644 --- a/drivers/platform/chrome/chromeos_laptop.c +++ b/drivers/platform/chrome/chromeos_laptop.c @@ -621,9 +621,17 @@ static const struct dmi_system_id chromeos_laptop_dmi_table[] __initconst = { .driver_data = (void *)&samus, }, { + .ident = "Samsung Chromebook 3", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "GOOGLE"), + DMI_MATCH(DMI_PRODUCT_NAME, "Celes"), + }, + .driver_data = (void *)&samus, + }, + { /* * Other Chromebooks with Atmel touch controllers: - * - Celes, Winky (touchpad) + * - Winky (touchpad) * - Clapper, Expresso, Rambi, Glimmer (touchscreen) */ .ident = "Other Chromebook", |