Message ID | 1386187151-27250-1-git-send-email-al.stone@linaro.org |
---|---|
State | New |
Headers | show |
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 54a20ff..44c07eb 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c @@ -1282,7 +1282,7 @@ acpi_status acpi_os_wait_semaphore(acpi_handle handle, u32 units, u16 timeout) jiffies = MAX_SCHEDULE_TIMEOUT; else jiffies = msecs_to_jiffies(timeout); - + ret = down_timeout(sem, jiffies); if (ret) status = AE_TIME; diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index 644516d..597cdab 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c @@ -598,7 +598,7 @@ static int acpi_processor_power_verify(struct acpi_processor *pr) case ACPI_STATE_C2: if (!cx->address) break; - cx->valid = 1; + cx->valid = 1; break; case ACPI_STATE_C3: