Input: atmel_mxt_ts - add touchpad button mapping for Samsung Chromebook 3
Subsystems (2)
Hi Sultan,
Quoted 6 lines · Sultan Alsawaf
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.
Quoted 29 lines
Signed-off-by Sultan Alsawaf <[email protected]>--- drivers/input/touchscreen/atmel_mxt_ts.c | 9 +++++++++ 1 file changed, 9 insertions(+)drivers/input/touchscreen/atmel_mxt_ts.c +9
-0@@ -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",Signature · 1 line
2.17.0
Thanks.
Signature · 1 line
Dmitry