Revert part of 1.19. We do want to set the count to 0 since otherwise
it would give false info to other parts of the driver.
This commit is contained in:
parent
f86f6ce6e4
commit
cb3f3e5c9b
@ -298,12 +298,12 @@ acpi_perf_evaluate(device_t dev)
|
||||
|
||||
count++;
|
||||
}
|
||||
sc->px_count = count;
|
||||
|
||||
/* No valid Px state found. */
|
||||
/* No valid Px state found so give up. */
|
||||
if (count == 0)
|
||||
goto out;
|
||||
AcpiOsFree(buf.Pointer);
|
||||
sc->px_count = count;
|
||||
|
||||
/* Get the control and status registers (one of each). */
|
||||
buf.Pointer = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user