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:09:10 +0000 (10:09 +0100)
commit2d8cfdac38725bc3e74adacdf37266a51067f375
treea6721f34a7af82614943b2676add227f831c704a
parent382fc3571870d90e7ba488f74c97bc9d92f29d86
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