ACPI: run _OSC after ACPI_FULL_INITIALIZATION
authorLin Ming <ming.m.lin@intel.com>
Mon, 16 Jul 2012 08:30:21 +0000 (16:30 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Oct 2012 20:28:03 +0000 (05:28 +0900)
commit6aca02ab8bca4488b697a00bec2bdfad79b84f68
treeed39841ebddd8df9a520a56df710d4873d927f14
parent8a6c264be08d9df60b86af8b35ae56336bd625d7
ACPI: run _OSC after ACPI_FULL_INITIALIZATION

commit fc54ab72959edbf229b65ac74b2f122d799ca002 upstream.

The _OSC method may exist in module level code,
so it must be called after ACPI_FULL_INITIALIZATION

On some new platforms with Zero-Power-Optical-Disk-Drive (ZPODD)
support, this fix is necessary to save power.

Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Tested-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/bus.c