]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Mon, 22 Oct 2012 23:30:12 +0000 (01:30 +0200)
commit104eb2102e9e5cf1aa8743df8ac60586bf39dfcb
treea623f907506ffa07dea8873ffd05c1cdd86255fe
parentc84ff6970d6bb311eaaa5f72ae68f0a09c2246be
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