summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-02-01 13:05:27 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-02-01 13:05:27 +0300
commitcbffab6825731f1baac7a950f6b7dd9239f55594 (patch)
treeadfabfb62e78d5893a659196d94e8d99fe503052 /drivers
parent15efb47dc560849d0c07db96fdad5121f2cf736e (diff)
parent1617971c6616c87185cbc78fa1a86dfc70dd16b6 (diff)
downloadlinux-cbffab6825731f1baac7a950f6b7dd9239f55594.tar.xz
Merge branch 'pm-cpuidle-fixes'
* pm-cpuidle-fixes: cpuidle: poll_state: Fix default time limit
Diffstat (limited to 'drivers')
-rw-r--r--drivers/cpuidle/poll_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpuidle/poll_state.c b/drivers/cpuidle/poll_state.c
index b17d153e724f..23a1b27579a5 100644
--- a/drivers/cpuidle/poll_state.c
+++ b/drivers/cpuidle/poll_state.c
@@ -21,7 +21,7 @@ static int __cpuidle poll_idle(struct cpuidle_device *dev,
local_irq_enable();
if (!current_set_polling_and_test()) {
unsigned int loop_count = 0;
- u64 limit = TICK_USEC;
+ u64 limit = TICK_NSEC;
int i;
for (i = 1; i < drv->state_count; i++) {