public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Andrew E. Mileski" <andrewm@isoar.ca>
To: linux-mtd@lists.infradead.org
Subject: Re: [PATCH] nand_wait_ready() timeout scaling
Date: Wed, 30 Apr 2008 16:55:18 -0400	[thread overview]
Message-ID: <4818DCB6.3020004@isoar.ca> (raw)
In-Reply-To: <Pine.LNX.4.64.0804301318110.32329@t2.domain.actdsltmp>

Trent Piepho wrote:
> Andrew E. Mileski wrote:
>> Just realized that 100 Hz systems would have a problem with this patch
>> since (100 * 8) / 1000 = 0.  Guess the simple solution is to make the
>> timeout 10 ms.
> 
> msecs_to_jiffies() is what you want to use.

Thanks.  Guess all similar calculations in nand_base.c file should be 
changed to that too.

-- 
Andrew E. Mileski

  reply	other threads:[~2008-04-30 20:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-30 19:22 [PATCH] nand_wait_ready() timeout scaling Andrew E. Mileski
2008-04-30 19:46 ` Andrew E. Mileski
2008-04-30 20:19   ` Trent Piepho
2008-04-30 20:55     ` Andrew E. Mileski [this message]
2008-07-14 20:32 ` Andrew E. Mileski

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=4818DCB6.3020004@isoar.ca \
    --to=andrewm@isoar.ca \
    --cc=linux-mtd@lists.infradead.org \
    /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