Re: [patch] big udelay's in fb drivers (2.4.0-prerelease)

Marko Kreen (marko@l-t.ee)
Thu, 4 Jan 2001 00:34:22 +0200


On Wed, Jan 03, 2001 at 11:32:52PM +0200, Marko Kreen wrote:
> - udelay(15000); /* delay for 50 (15) ms */
> + mdelay(15); /* delay for 50 (15) ms */

Per Mark Hahn suggestion here is a patch that fixes the weird
comments too. This is cumulative to the previous patch.

-- 
marko

--- linux/drivers/video/atyfb.c.orig Thu Jan 4 00:08:24 2001 +++ linux/drivers/video/atyfb.c Thu Jan 4 00:09:11 2001 @@ -1722,7 +1722,7 @@ aty_st_8(CRTC_GEN_CNTL + 3, old_crtc_ext_disp | (CRTC_EXT_DISP_EN >> 24), info); - mdelay(15); /* delay for 50 (15) ms */ + mdelay(15); /* delay for 15 ms */ program_bits = pll->program_bits; locationAddr = pll->locationAddr; @@ -1754,7 +1754,7 @@ aty_st_8(CLOCK_CNTL + info->clk_wr_offset, old_clock_cntl | CLOCK_STROBE, info); - mdelay(50); /* delay for 50 (15) ms */ + mdelay(50); /* delay for 50 ms */ aty_st_8(CLOCK_CNTL + info->clk_wr_offset, ((pll->locationAddr & 0x0F) | CLOCK_STROBE), info); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/