Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165266
b: refs/heads/master
c: 6a63b06
h: refs/heads/master
v: v3
  • Loading branch information
Alexey Starikovskiy authored and Len Brown committed Aug 30, 2009
1 parent 6855482 commit 2beaae0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2a84cb9852f52c0cd1c48bca41a8792d44ad06cc
refs/heads/master: 6a63b06f3c494cc87eade97f081300bda60acec7
6 changes: 4 additions & 2 deletions trunk/drivers/acpi/ec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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:
Expand Down

0 comments on commit 2beaae0

Please sign in to comment.