sony-laptop: Enable EC on newer hardware
authorMatthew Garrett <mjg59@srcf.ucam.org>
Thu, 26 Mar 2009 12:58:13 +0000 (21:58 +0900)
committerLen Brown <len.brown@intel.com>
Fri, 27 Mar 2009 16:17:56 +0000 (12:17 -0400)
commit82734bfc8622f3e8f015a5783b739739f97f89f9
treea8258a4f833fe754dace4d49cdeaf28c44b0b670
parentbadf26f00f2ed80615206d07bcfc2e3b78af5441
sony-laptop: Enable EC on newer hardware

The latest Vaios can execute certain codepaths in two ways - either using
system management mode or using pure ACPI methods. The latter is only used
if the OS has called the ECON method. Ensure that this is done where the
method is available.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/sony-laptop.c