Input: elantech - provide a sysfs knob for crc_enabled
authorUlrik De Bie <ulrik.debie-os@e2big.org>
Fri, 14 Nov 2014 01:47:04 +0000 (17:47 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 14 Nov 2014 01:50:23 +0000 (17:50 -0800)
commit2d9eb81fdb9f08df3a4b1638c1270a4453b40ac2
treec3b10acbe30e7d232a478f27242591b929dfc13c
parentf386474e12a560e005ec7899e78f51f6bdc3cf41
Input: elantech - provide a sysfs knob for crc_enabled

The detection of crc_enabled is known to fail for Fujitsu H730. A DMI
blacklist is added for that, but it can be expected that other laptops will
pop up with this.

Here a sysfs knob is provided to alter the behaviour of crc_enabled.
Writing 0 or 1 to it sets the variable to 0 or 1. Reading it will show the
crc_enabled variable (0 or 1).

Reported-by: Stefan Valouch <stefan@valouch.com>
Signed-off-by: Ulrik De Bie <ulrik.debie-os@e2big.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/elantech.c