]> git.karo-electronics.de Git - linux-beck.git/commit
ACPI: EC: Merge IRQ and POLL modes
authorAlexey Starikovskiy <astarikovskiy@suse.de>
Sat, 29 Aug 2009 23:06:14 +0000 (03:06 +0400)
committerLen Brown <len.brown@intel.com>
Sun, 30 Aug 2009 01:50:07 +0000 (21:50 -0400)
commit2a84cb9852f52c0cd1c48bca41a8792d44ad06cc
tree61f8be19dfaf400a603746a279eab376e7a068c8
parent326ba5010a5429a5a528b268b36a5900d4ab0eba
ACPI: EC: Merge IRQ and POLL modes

In general, EC transaction should complete in less than 1ms, thus it is possible to merge wait for
1ms in poll mode and 1ms of interrupt transaction timeout.
Still, driver will wait 500ms for EC to complete transaction.

This significantly simplifies driver and makes it immune to problematic EC interrupt
implementations.

It also may lessen kernel start-up time by 500ms.

References: http://bugzilla.kernel.org/show_bug.cgi?id=12949

Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/ec.c