commit | 2c81ce4c9c37b910210f2640c28e98a0c398dc26 | [log] [tgz] |
---|---|---|
author | Alexey Starikovskiy <astarikovskiy@suse.de> | Tue Mar 11 13:30:00 2008 -0400 |
committer | Len Brown <len.brown@intel.com> | Tue Mar 11 13:30:00 2008 -0400 |
tree | e46ccf30836014d115e72791263697585f7943f6 | |
parent | 2f44bbb495dd3e6d0209eff2257438ab9c570e5b [diff] |
ACPI: EC: Handle IRQ storm on Acer laptops On some Acer systems, the HW fails to clear the GPE source, causing an interrupt storm. So in EC interrupt mode, we count how many interrupts we receive when waiting. If we get more than 5, we give up on interrupt mode and revert to polling mode. Also, for polling mode to work on Acers, we need to insert a delay. Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Len Brown <len.brown@intel.com>