diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/ec.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 63862dfe347b..445ecbabbe76 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c | |||
@@ -575,6 +575,8 @@ acpi_ec_space_handler(u32 function, acpi_physical_address address, | |||
575 | if (bits != 8 && acpi_strict) | 575 | if (bits != 8 && acpi_strict) |
576 | return AE_BAD_PARAMETER; | 576 | return AE_BAD_PARAMETER; |
577 | 577 | ||
578 | acpi_ec_burst_enable(ec); | ||
579 | |||
578 | if (function == ACPI_READ) { | 580 | if (function == ACPI_READ) { |
579 | result = acpi_ec_read(ec, address, &temp); | 581 | result = acpi_ec_read(ec, address, &temp); |
580 | *value = temp; | 582 | *value = temp; |
@@ -594,6 +596,8 @@ acpi_ec_space_handler(u32 function, acpi_physical_address address, | |||
594 | } | 596 | } |
595 | } | 597 | } |
596 | 598 | ||
599 | acpi_ec_burst_disable(ec); | ||
600 | |||
597 | switch (result) { | 601 | switch (result) { |
598 | case -EINVAL: | 602 | case -EINVAL: |
599 | return AE_BAD_PARAMETER; | 603 | return AE_BAD_PARAMETER; |