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)
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>

No differences found