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
0add27a8f0
commit
7c5f435fc4
@ -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