]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: handle systems which asynchoronously enable ACPI mode
authorLen Brown <len.brown@intel.com>
Tue, 29 Jun 2010 00:55:01 +0000 (20:55 -0400)
committerLen Brown <len.brown@intel.com>
Tue, 29 Jun 2010 00:55:01 +0000 (20:55 -0400)
commit2473d4337528920be654a21e51df334ada1fb85a
tree2698b9836ae32ad3f596d68ef65cf81c02a09e4e
parent67323e1f413794881a030fcf510fc42c54bfed61
ACPI: handle systems which asynchoronously enable ACPI mode

Folklore suggested that such systems existed
in the pre-history of ACPI.

However, we removed the SCI_EN polling loop from
acpi_hw_set_mode() in 95424bcd3aacdb8708e691dfba3c9e2dcb59329e
because it delayed resume by 3 seconds on boxes
that refused to set SCI_EN.

Matthew removed the call to acpi_enable() from
the suspend resume path.

James found a modern system that still needs to be polled
upon boot.

So here we restore the workaround, except that we
put it in acpi_enable() rather than the low level
acpi_hw_set_mode().

https://bugzilla.kernel.org/show_bug.cgi?id=16271

Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/acpica/evxfevnt.c