Messages in this thread | | | Date | Wed, 21 Sep 2011 12:48:41 +0200 | Subject | Re: [PATCH] mmc : Use wait_for_completion_timeout() instead of wait_for_completion in case of write. | From | Linus Walleij <> |
| |
On Sun, Sep 18, 2011 at 5:21 PM, Namjae Jeon <linkinjeon@gmail.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |