Commit cbffab68 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki

Merge branch 'pm-cpuidle-fixes'

* pm-cpuidle-fixes:
  cpuidle: poll_state: Fix default time limit
parents 15efb47d 1617971c
...@@ -21,7 +21,7 @@ static int __cpuidle poll_idle(struct cpuidle_device *dev, ...@@ -21,7 +21,7 @@ static int __cpuidle poll_idle(struct cpuidle_device *dev,
local_irq_enable(); local_irq_enable();
if (!current_set_polling_and_test()) { if (!current_set_polling_and_test()) {
unsigned int loop_count = 0; unsigned int loop_count = 0;
u64 limit = TICK_USEC; u64 limit = TICK_NSEC;
int i; int i;
for (i = 1; i < drv->state_count; i++) { for (i = 1; i < drv->state_count; i++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment