On Wed, Apr 25, 2018 at 02:32:58PM +0200, Vittorio Gambaletta (VittGam) wrote:
> 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: [email protected]
> Signed-off-by: Vittorio Gambaletta <[email protected]>
> Signed-off-by: Salvatore Bellizzi <[email protected]>
>
Applied, thank you.
> ---
>
> --- 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 = {
--
Dmitry