Input: elantech - force needed quirks on Fujitsu H760
authorMatti Kurkela <Matti.Kurkela@iki.fi>
Mon, 3 Oct 2016 23:48:17 +0000 (16:48 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Oct 2016 07:01:31 +0000 (03:01 -0400)
commit58ba76ae7fdbd08fe39c81091b81a3f82e00cb5e
tree5e1c4d91966cc4cc1376b5721af328cbb035169f
parent91af8da4471df91ea680ec83103fcc9d5698a96c
Input: elantech - force needed quirks on Fujitsu H760

commit f9a703a54d16ba2470391c4b12236ee56591d50c upstream.

Just like Fujitsu CELSIUS H730, the H760 also has an Elantech touchpad with
the same quirks. Without this patch, the touchpad is useless out-of-the-box
as the mouse pointer won't move.

This patch makes the driver aware of both the crc_enabled=1 requirement and
the middle button, making the touchpad fully functional out-of-the-box.

Signed-off-by: Matti Kurkela <Matti.Kurkela@iki.fi>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/mouse/elantech.c