]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ACPICA: Do not repair _TSS return package if _PSS is present
authorFenghua Yu <fenghua.yu@intel.com>
Mon, 4 Jul 2011 08:36:16 +0000 (08:36 +0000)
committerLen Brown <len.brown@intel.com>
Thu, 14 Jul 2011 03:51:49 +0000 (23:51 -0400)
commit8f9c91273e36e5762c617c23e4fd48d5172e0dac
tree98773e4e0b5f5d4da1648ba841ec3945fdfda728
parentd57b23ad0ca7a46931e4d98eb6b4b73b112f0969
ACPICA: Do not repair _TSS return package if _PSS is present

We can only sort the _TSS return package if there is no _PSS
in the same scope. This is because if _PSS is present, the ACPI
specification dictates that the _TSS Power Dissipation field is
to be ignored, and therefore some BIOSs leave garbage values in
the _TSS Power field(s).  In this case, it is best to just return
the _TSS package as-is.

Reported-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/acpica/aclocal.h
drivers/acpi/acpica/nspredef.c
drivers/acpi/acpica/nsrepair2.c