ACPI: EC: Don't init EC early if it has no _INI
authorAlexey Starikovskiy <astarikovskiy@suse.de>
Thu, 15 Nov 2007 18:52:47 +0000 (21:52 +0300)
committerLen Brown <len.brown@intel.com>
Mon, 19 Nov 2007 17:20:48 +0000 (12:20 -0500)
commit5870a8cd23181703cc76f88f630372f8602c7648
tree4fd47ddabf7dc0d237e8cb7069646cd5df2dee6b
parent2ffbb8377c7a0713baf6644e285adc27a5654582
ACPI: EC: Don't init EC early if it has no _INI

Option to init EC early inserted to handle #8598 ASUS problem,
introduced several others.

EC driver in this particular case has fake _INI method, not present on
other machines, which don't need or break from this workaround, so lets use
its presence as a flag for early init.

http://bugzilla.kernel.org/show_bug.cgi?id=9262
http://bugzilla.kernel.org/show_bug.cgi?id=8598
https://bugzilla.novell.com/show_bug.cgi?id=334806

Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/ec.c