aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/cpufreq/pmac64-cpufreq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/cpufreq/pmac64-cpufreq.c b/drivers/cpufreq/pmac64-cpufreq.c
index b977b9aa408e..889c0d553572 100644
--- a/drivers/cpufreq/pmac64-cpufreq.c
+++ b/drivers/cpufreq/pmac64-cpufreq.c
@@ -137,7 +137,7 @@ static void g5_vdnap_switch_volt(int speed_mode)
137 pmf_call_one(pfunc_vdnap0_complete, &args); 137 pmf_call_one(pfunc_vdnap0_complete, &args);
138 if (done) 138 if (done)
139 break; 139 break;
140 msleep(1); 140 usleep_range(1000, 1000);
141 } 141 }
142 if (done == 0) 142 if (done == 0)
143 printk(KERN_WARNING "cpufreq: Timeout in clock slewing !\n"); 143 printk(KERN_WARNING "cpufreq: Timeout in clock slewing !\n");
@@ -236,7 +236,7 @@ static void g5_pfunc_switch_volt(int speed_mode)
236 if (pfunc_cpu1_volt_low) 236 if (pfunc_cpu1_volt_low)
237 pmf_call_one(pfunc_cpu1_volt_low, NULL); 237 pmf_call_one(pfunc_cpu1_volt_low, NULL);
238 } 238 }
239 msleep(10); /* should be faster , to fix */ 239 usleep_range(10000, 10000); /* should be faster , to fix */
240} 240}
241 241
242/* 242/*
@@ -281,7 +281,7 @@ static int g5_pfunc_switch_freq(int speed_mode)
281 pmf_call_one(pfunc_slewing_done, &args); 281 pmf_call_one(pfunc_slewing_done, &args);
282 if (done) 282 if (done)
283 break; 283 break;
284 msleep(1); 284 usleep_range(500, 500);
285 } 285 }
286 if (done == 0) 286 if (done == 0)
287 printk(KERN_WARNING "cpufreq: Timeout in clock slewing !\n"); 287 printk(KERN_WARNING "cpufreq: Timeout in clock slewing !\n");