All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] Input: atmel_mxt_ts - add touchpad button mapping for Samsung Chromebook 3
       [not found] <20180528195045.21036-1-sultanxda@gmail.com>
@ 2018-05-29 18:36 ` Dmitry Torokhov
  0 siblings, 0 replies; only message in thread
From: Dmitry Torokhov @ 2018-05-29 18:36 UTC (permalink / raw)
  To: Sultan Alsawaf; +Cc: nick, linux-input, bleung, stable, Greg Kroah-Hartman

Hi Sultan,

On Mon, May 28, 2018 at 12:50:45PM -0700, Sultan Alsawaf wrote:
> This patch adds the correct platform data information for the Celes
> 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 Celes, so they have been reused here.

There is quite a reshuffle going on between chromeos-laptop.c and
atmel_mxt_ts at the moment, and your patch does not apply. I think the
best way forward would be:

- get this patch into stable train as is
- I'll prepare a new patch that makes necessary changes in
  chromeos-laptop.c for the upcoming merge window.

That means that 4.17 will not have the fix, but the first stable release
of 4.17.x should have it.

I'm cc-ing a few people.

> 
> Signed-off-by: Sultan Alsawaf <sultanxda@gmail.com>
> ---
>  drivers/input/touchscreen/atmel_mxt_ts.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c
> index 429b694405c7..0c022f4c1a19 100644
> --- a/drivers/input/touchscreen/atmel_mxt_ts.c
> +++ b/drivers/input/touchscreen/atmel_mxt_ts.c
> @@ -3039,6 +3039,15 @@ static const struct dmi_system_id mxt_dmi_table[] = {
>  		},
>  		.driver_data = samus_platform_data,
>  	},
> +	{
> +		/* Samsung Chromebook 3 (Celes) */
> +		.ident = "Samsung Chromebook 3 (Celes)",
> +		.matches = {
> +			DMI_MATCH(DMI_SYS_VENDOR, "GOOGLE"),
> +			DMI_MATCH(DMI_PRODUCT_NAME, "Celes"),
> +		},
> +		.driver_data = samus_platform_data,
> +	},
>  	{
>  		/* Other Google Chromebooks */
>  		.ident = "Chromebook",
> -- 
> 2.17.0
> 

Thanks.

-- 
Dmitry

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-29 18:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20180528195045.21036-1-sultanxda@gmail.com>
2018-05-29 18:36 ` [PATCH] Input: atmel_mxt_ts - add touchpad button mapping for Samsung Chromebook 3 Dmitry Torokhov

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.