diff options
author | Alexey Starikovskiy <astarikovskiy@suse.de> | 2009-08-28 23:29:44 +0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-08-29 21:51:54 -0400 |
commit | 6a63b06f3c494cc87eade97f081300bda60acec7 (patch) | |
tree | 5fd6a2533a03c0169616bf380a5af3ad7ff973be /drivers/acpi | |
parent | 2a84cb9852f52c0cd1c48bca41a8792d44ad06cc (diff) | |
download | linux-3.10-6a63b06f3c494cc87eade97f081300bda60acec7.tar.gz linux-3.10-6a63b06f3c494cc87eade97f081300bda60acec7.tar.bz2 linux-3.10-6a63b06f3c494cc87eade97f081300bda60acec7.zip |
ACPI: EC: use BURST mode only for MSI notebooks
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/ec.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 839b542d508..788db781a51 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c @@ -575,7 +575,8 @@ acpi_ec_space_handler(u32 function, acpi_physical_address address, if (bits != 8 && acpi_strict) return AE_BAD_PARAMETER; - acpi_ec_burst_enable(ec); + if (EC_FLAGS_MSI) + acpi_ec_burst_enable(ec); if (function == ACPI_READ) { result = acpi_ec_read(ec, address, &temp); @@ -596,7 +597,8 @@ acpi_ec_space_handler(u32 function, acpi_physical_address address, } } - acpi_ec_burst_disable(ec); + if (EC_FLAGS_MSI) + acpi_ec_burst_disable(ec); switch (result) { case -EINVAL: |