projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1eb8989
)
platform/chrome: chromeos_laptop: fix touchpad button mapping on Celes
author
Dmitry Torokhov
<
[email protected]
>
Tue, 29 May 2018 19:06:59 +0000
(12:06 -0700)
committer
Benson Leung
<
[email protected]
>
Tue, 29 May 2018 22:11:04 +0000
(15:11 -0700)
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 <
[email protected]
>
Signed-off-by: Dmitry Torokhov <
[email protected]
>
Signed-off-by: Benson Leung <
[email protected]
>
drivers/platform/chrome/chromeos_laptop.c
patch
|
blob
|
history
diff --git
a/drivers/platform/chrome/chromeos_laptop.c
b/drivers/platform/chrome/chromeos_laptop.c
index 3cecf7933f75105bf9bd85d3d6b831e72a508575..24326eecd7876ab0f62008e44cf47f5e74e283ec 100644
(file)
--- a/
drivers/platform/chrome/chromeos_laptop.c
+++ b/
drivers/platform/chrome/chromeos_laptop.c
@@
-620,10
+620,18
@@
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",