]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (asus_atk0110) Enable the EC
authorLuca Tettamanti <kronos.it@gmail.com>
Fri, 9 Oct 2009 18:35:18 +0000 (20:35 +0200)
committerJean Delvare <khali@linux-fr.org>
Fri, 9 Oct 2009 18:35:18 +0000 (20:35 +0200)
commitbb50c718c06dd7354a42fc0194478e03f917919a
treef7a4f25d1a5768b02d688afd72606f8f2f1e38d6
parent8e72a2ad8ad728428abf75071e8ec87390b28266
hwmon: (asus_atk0110) Enable the EC

On newer ASUS boards (e.g. P7P55D) the EC (that - among other things - is
responsible for updating the readings from the hwmon sensors) is disabled
by default since ASUS detected conflict with some tools under Windows.
The following patch checks the state of the EC and enable it if needed;
under Linux, native drivers are locked out from ACPI owned resources so
there's no risk of conflict.

Signed-off-by: Luca Tettamanti <kronos.it@gmail.com>
Tested-by: Robert Hancock <hancockrwd@gmail.com>
Tested-by: Thomas Backlund <tmb@mandriva.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/asus_atk0110.c