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)
commit9e6eba610c2eb68b05841a15ece1cf929c44aea3
treef7a4f25d1a5768b02d688afd72606f8f2f1e38d6
parent18e255558574c5663c9d72fe82c099d2115aee55
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