summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/video.c
diff options
context:
space:
mode:
authorDamián Viano2008-04-29 09:32:25 +0200
committerLen Brown2008-04-29 09:32:25 +0200
commit51ae796f7fa1d8034252628572053f477bc29913 (patch)
tree07808a7233d5c1bab0bdf16d2762c7da1d9a372b /drivers/acpi/video.c
parentACPI: GPE enabling should happen after EC installation (diff)
downloadkernel-qcow2-linux-51ae796f7fa1d8034252628572053f477bc29913.tar.gz
kernel-qcow2-linux-51ae796f7fa1d8034252628572053f477bc29913.tar.xz
kernel-qcow2-linux-51ae796f7fa1d8034252628572053f477bc29913.zip
ACPICA: always disable GPE when requested
acpi_ev_disable_gpe() has an optimization where it doesn't disable a GPE that it "doesn't have to". Unfortunately, it can get tricked by AML that scribbles on register state behind its back. So when asked to disable a GPE, simply do it -- a redundant register write in the common case is a fair price to pay to be bomb-proof for the rare cases. http://bugzilla.kernel.org/show_bug.cgi?id=6217 Signed-off-by: Damián Viano <des@debian.org> Acked-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/video.c')
0 files changed, 0 insertions, 0 deletions