All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] input/touchscreen: atmel_mxt_ts: Add correct touchpad button mapping for the Caroline Chromebook.
@ 2018-04-25 12:32 ` Vittorio Gambaletta (VittGam)
  0 siblings, 0 replies; 12+ messages in thread
From: Vittorio Gambaletta (VittGam) @ 2018-04-25 12:32 UTC (permalink / raw)
  To: linux-kernel, linux-input, stable, nick, dmitry.torokhov, bleung
  Cc: Salvatore Bellizzi

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.

v2: updated patch offset after 20180409 changes.

Cc: stable@vger.kernel.org
Signed-off-by: Vittorio Gambaletta <linuxbugs@vittgam.net>
Signed-off-by: Salvatore Bellizzi <lkml@seppia.net>

---

--- a/drivers/input/touchscreen/atmel_mxt_ts.c
+++ b/drivers/input/touchscreen/atmel_mxt_ts.c
@@ -3035,6 +3035,15 @@
 		.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 = {

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-04-30 18:43 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-25 12:32 [PATCH v2] input/touchscreen: atmel_mxt_ts: Add correct touchpad button mapping for the Caroline Chromebook Vittorio Gambaletta (VittGam)
2018-04-25 12:32 ` Vittorio Gambaletta (VittGam)
2018-04-25 22:26 ` Dmitry Torokhov
2018-04-25 22:57   ` Dmitry Torokhov
2018-04-26  5:37     ` Vittorio Gambaletta (VittGam)
2018-04-26  5:37       ` Vittorio Gambaletta (VittGam)
     [not found]       ` <CABXOdTeh3yLtsWxUCWFdpQNQReAmVDnuJh+T07X=YB3dq=uG1Q@mail.gmail.com>
2018-04-26 16:42         ` Dmitry Torokhov
2018-04-29 23:44           ` Vittorio Gambaletta (VittGam)
2018-04-29 23:44             ` Vittorio Gambaletta (VittGam)
2018-04-30 17:38             ` Dmitry Torokhov
2018-04-30 18:43               ` Vittorio Gambaletta (VittGam)
2018-04-30 18:43                 ` Vittorio Gambaletta (VittGam)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.