Input: elantech - enable 3rd button support on Fujitsu CELSIUS H780
authorMatti Kurkela <Matti.Kurkela@iki.fi>
Fri, 8 Feb 2019 07:49:23 +0000 (23:49 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Feb 2019 09:20:53 +0000 (10:20 +0100)
commite0b6920afa874e73937e7d1accbdd1b5d4a9bcf9
tree920a12f8d37fb7ed00cd6c8ee52495bb739ef400
parentbde50d13e4b1a4327da633d8765e4cc1f60513a2
Input: elantech - enable 3rd button support on Fujitsu CELSIUS H780

commit e8b22d0a329f0fb5c7ef95406872d268f01ee3b1 upstream.

Like Fujitsu CELSIUS H760, the H780 also has a three-button Elantech
touchpad, but the driver needs to be told so to enable the middle touchpad
button.

The elantech_dmi_force_crc_enabled quirk was not necessary with the H780.

Also document the fw_version and caps values detected for both H760 and
H780 models.

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