]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ACPI: Do not modify SCI_EN directly
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 29 Dec 2008 18:19:07 +0000 (19:19 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Feb 2009 21:47:24 +0000 (13:47 -0800)
commita88af3b3c8938d43bb0b0a71508b546086789eee
tree0afc50a30cbe0515eff72814c668a663344b36db
parentf74bb48f2e5ec381ba74f6952f55f0402c151d3e
ACPI: Do not modify SCI_EN directly

commit 11e93130c7ce5228d484fd5e86f3984835d4256b upstream.

According to the ACPI specification the SCI_EN flag is controlled by
the hardware, which sets this flag to inform the kernel that ACPI is
enabled.  For this reason, we shouldn't try to modify SCI_EN
directly.  Also, we don't need to do it in irqrouter_resume(), since
lower-level resume code takes care of enabling ACPI in case it hasn't
been enabled by the BIOS before passing control to the kernel (which
by the way is against the ACPI specification).

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
Cc: Thomas Renninger <trenn@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/acpi/pci_link.c