X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=drivers%2Fvideo%2Faty%2Fmach64_ct.c;fp=drivers%2Fvideo%2Faty%2Fmach64_ct.c;h=1fdcfdbf669b2a26f770af8d4b5816479f8f6f86;hb=8690ba446defe2e2b81803756c099d2943dfd5fd;hp=f3b487b8710ba28725e1336b9fac6a2e0b1c7536;hpb=8f485612231792373580e8b2fe8ceb3791549aa5;p=powerpc.git diff --git a/drivers/video/aty/mach64_ct.c b/drivers/video/aty/mach64_ct.c index f3b487b871..1fdcfdbf66 100644 --- a/drivers/video/aty/mach64_ct.c +++ b/drivers/video/aty/mach64_ct.c @@ -598,7 +598,6 @@ static void aty_resume_pll_ct(const struct fb_info *info, struct atyfb_par *par = info->par; if (par->mclk_per != par->xclk_per) { - int i; /* * This disables the sclk, crashes the computer as reported: * aty_st_pll_ct(SPLL_CNTL2, 3, info); @@ -614,7 +613,7 @@ static void aty_resume_pll_ct(const struct fb_info *info, * helps for Rage Mobilities that sometimes crash when * we switch to sclk. (Daniel Mantione, 13-05-2003) */ - for (i=0;i<=0x1ffff;i++); + udelay(500); } aty_st_pll_ct(PLL_REF_DIV, pll->ct.pll_ref_div, par);