summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/internal.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-06-19 01:16:45 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-06-19 01:16:45 +0200
commitfeabe392ed8d15896e3a0900ffc75810fe0c0b65 (patch)
tree9f313038d564346bab9dfdf6686784697b98d3e9 /drivers/acpi/internal.h
parentMerge branches 'acpi-pm', 'acpi-apei', 'acpi-osl' and 'acpi-pci' (diff)
parentACPI / EC: Fix a code coverity issue when QR_EC transactions are failed. (diff)
downloadlinux-feabe392ed8d15896e3a0900ffc75810fe0c0b65.tar.xz
linux-feabe392ed8d15896e3a0900ffc75810fe0c0b65.zip
Merge branch 'acpi-ec'
* acpi-ec: ACPI / EC: Fix a code coverity issue when QR_EC transactions are failed. ACPI / EC: Fix EC_FLAGS_QUERY_HANDSHAKE platforms using new event clearing timing. ACPI / EC: Add event clearing variation support. ACPI / EC: Convert event handling work queue into loop style. ACPI / EC: Cleanup transaction state transition. ACPI / EC: Remove non-root-caused busy polling quirks. ACPI / EC: Add module params for polling modes. ACPI / EC: Fix and clean up register access guarding logics. ACPI / EC: Remove irqs_disabled() check. ACPI / EC: Remove storming threashold enlarging quirk. ACPI / EC: Update acpi_ec_is_gpe_raised() with new GPE status flag.
Diffstat (limited to 'drivers/acpi/internal.h')
-rw-r--r--drivers/acpi/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/internal.h b/drivers/acpi/internal.h
index d93628c65661..ae919b509e6c 100644
--- a/drivers/acpi/internal.h
+++ b/drivers/acpi/internal.h
@@ -138,6 +138,8 @@ struct acpi_ec {
struct transaction *curr;
spinlock_t lock;
struct work_struct work;
+ unsigned long timestamp;
+ unsigned long nr_pending_queries;
};
extern struct acpi_ec *first_ec;