]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite807ea7f1361abb9fb366f4b15f9152e307f41ee
treec3b10acbe30e7d232a478f27242591b929dfc13c
parent26ed27b14ee3ffbdbb87acf224bdc04e7bd2aaf5
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