]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: WMI: Clean up handling of spec violating data blocks
authorCarlos Corbacho <carlos@strangeworlds.co.uk>
Sun, 24 Feb 2008 13:34:34 +0000 (13:34 +0000)
committerLen Brown <len.brown@intel.com>
Tue, 11 Mar 2008 21:59:05 +0000 (17:59 -0400)
commita6a29da5368114451ee3accef2fdd0b648ca3de1
treec55c8f3366ba0f955619a48e0f0a88ff070247bd
parenta91ff1fbcc9cbf342947daafb2df4f54bf5aa509
ACPI: WMI: Clean up handling of spec violating data blocks

Acer violate the ACPI-WMI spec by declaring some of their data blocks as
expensive, but with no corresponding WCxx method. There is already some
workaround code in to handle the initial WCxx call (we just ignore a
failure here); but we need to properly check if the second, "clean up",
WCxx call is actually needed or not, rather than fail simply because it
isn't there.

Signed-off-by: Carlos Corbacho <carlos@strangeworlds.co.uk>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/wmi.c