mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marko Kreen <marko@l-t.ee>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: Linus Torvalds <torvalds@transmeta.com>, linux-fbdev@vuser.vu.union.edu
Subject: Re: [patch] big udelay's in fb drivers (2.4.0-prerelease)
Date: Thu, 4 Jan 2001 00:34:22 +0200	[thread overview]
Message-ID: <20010104003422.A12099@l-t.ee> (raw)
In-Reply-To: <20010103233252.A10972@l-t.ee>
In-Reply-To: <20010103233252.A10972@l-t.ee>; from marko@l-t.ee on Wed, Jan 03, 2001 at 11:32:52PM +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/

  reply	other threads:[~2001-01-03 22:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-03 21:32 Marko Kreen
2001-01-03 22:34 ` Marko Kreen [this message]
2001-01-04 19:07   ` Oliver Xymoron
2001-01-05  0:02     ` Alan Cox
2001-01-05  1:31       ` Oliver Xymoron
2001-01-05  2:22         ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010104003422.A12099@l-t.ee \
    --to=marko@l-t.ee \
    --cc=linux-fbdev@vuser.vu.union.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®