ACPI: EC: Enable boot EC before bus_scan
authorAlexey Starikovskiy <astarikovskiy@suse.de>
Tue, 1 Jan 2008 19:12:55 +0000 (14:12 -0500)
committerLen Brown <len.brown@intel.com>
Tue, 1 Jan 2008 19:12:55 +0000 (14:12 -0500)
commitc04209a7948b95e8c52084e8595e74e9428653d3
tree8a7bed4071550e333f1a5e81558fc55a470cd554
parente697789d64f8748cb219d7f5c413c512953802cc
ACPI: EC: Enable boot EC before bus_scan

Some _STA methods called during bus_scan() might require EC region handler,
which might be enabled later in the scan.
Enable it explicitly before scan to avoid errors.

Reference: http://bugzilla.kernel.org/show_bug.cgi?id=9627

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