ACPI / EC: Don't count a SCI interrupt as a false one
authorFeng Tang <feng.tang@intel.com>
Mon, 22 Oct 2012 23:30:12 +0000 (01:30 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 14 Nov 2012 23:15:59 +0000 (00:15 +0100)
commita3cd8d2789c2e265e09377f260e7d2ac9cec81bb
tree14f89e7600131fcfdf7fc3ea3d436b8e51efa09b
parentb76b51ba0cef13980813373a548a12206e3cd3c9
ACPI / EC: Don't count a SCI interrupt as a false one

Currently when advance_transaction() is called in EC interrupt handler,
if there is nothing driver can do with the interrupt, it will be taken
as a false one.

But this is not always true, as there may be a SCI EC interrupt fired
during normal read/write operation, which should not be counted as a
false one. This patch fixes the problem.

Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/ec.c