diff options
author | Rafael J. Wysocki | 2011-01-06 23:40:00 +0100 |
---|---|---|
committer | Len Brown | 2011-01-12 05:05:50 -0500 |
commit | 86e4e20e8a5301ff7104a4f40f35fd5bee408186 (patch) | |
tree | 76c00623e695e1ebe65620b1c0b56c86a18609fe /include/acpi | |
parent | d0515d9fec68bace144fda57a69f4268fb875209 (diff) |
ACPI: Always check if _PRW is present before trying to evaluate it
Before evaluating _PRW for devices that are reported as inactive or
not present by their _STA control methods we should check if those
methods are actually present (otherwise the evaulation of _PRW will
obviously fail and a scary message will be printed unnecessarily).
Reported-by: Andreas Mohr <andi@lisas.de>
Reported-by: Maciej Rutecki <maciej.rutecki@gmail.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi')
0 files changed, 0 insertions, 0 deletions