[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdaqFG20YU-YmWxj+M4tqrSB=wCN=HX==rFfUJnJTqajiQ@mail.gmail.com>
Date: Wed, 21 Sep 2011 12:48:41 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Namjae Jeon <linkinjeon@...il.com>
Cc: cjb@...top.org, linux-mmc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mmc : Use wait_for_completion_timeout() instead of
wait_for_completion in case of write.
On Sun, Sep 18, 2011 at 5:21 PM, Namjae Jeon <linkinjeon@...il.com> wrote:
> + timeout_us += mrq->data->timeout_clks * 1000 /
> + (mmc_host_clk_rate(host) / 1000);
The math teacher says this is equivalent to:
timeout_us += (mrq->data->timeout_clks / mmc_host_clk_rate) * 1000000 ;
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists