Quiet the complaint about the _SCP method if it doesn't exist; it's
not mandatory.
This commit is contained in:
parent
8077a62b9c
commit
30185bcabe
@ -681,8 +681,9 @@ acpi_tz_powerprofile(void *arg)
|
||||
args.Count = 1;
|
||||
args.Pointer = &obj;
|
||||
if (ACPI_FAILURE(status = AcpiEvaluateObject(sc->tz_handle, "_SCP", &args, NULL))) {
|
||||
if (status != AE_NOT_FOUND)
|
||||
device_printf(sc->tz_dev, "can't evaluate %s._SCP - %s\n", acpi_name(sc->tz_handle),
|
||||
acpi_strerror(status)); /* XXX silence this at some point */
|
||||
acpi_strerror(status));
|
||||
sc->tz_flags |= TZ_FLAG_NO_SCP;
|
||||
} else {
|
||||
/* we have to re-evaluate the entire zone now */
|
||||
|
Loading…
Reference in New Issue
Block a user