Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84104
b: refs/heads/master
c: b3b233c
h: refs/heads/master
v: v3
  • Loading branch information
Alexey Starikovskiy authored and Len Brown committed Jan 11, 2008
1 parent 0928f51 commit d55e48c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3e71a87d03055de0b8c8e42aba758ee6494af083
refs/heads/master: b3b233c7d948a5f55185fb5a1b248157b948a1e5
4 changes: 4 additions & 0 deletions trunk/drivers/acpi/ec.c
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +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 (function == ACPI_READ) {
result = acpi_ec_read(ec, address, &temp);
*value = temp;
Expand All @@ -594,6 +596,8 @@ acpi_ec_space_handler(u32 function, acpi_physical_address address,
}
}

acpi_ec_burst_disable(ec);

switch (result) {
case -EINVAL:
return AE_BAD_PARAMETER;
Expand Down

0 comments on commit d55e48c

Please sign in to comment.