[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <53562523.7020606@linaro.org>
Date: Tue, 22 Apr 2014 09:15:31 +0100
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
To: balbi@...com
CC: linux-mmc@...r.kernel.org, Russell King <linux@....linux.org.uk>,
Chris Ball <chris@...ntf.net>,
Ulf Hansson <ulf.hansson@...aro.org>,
linux-kernel@...r.kernel.org, agross@...cinc.com,
linux-arm-msm@...r.kernel.org
Subject: Re: [PATCH RFC 06/12] mmc: mmci: Add write delay to variant structure.
Thanks Felipe,
On 21/04/14 23:08, Felipe Balbi wrote:
>> + if (var->reg_write_delay && host->mclk)
>> >+ udelay(1 + ((var->reg_write_delay * USEC_PER_SEC)/host->mclk));
> looks like this should be quirk flag instead of a write delay... No
> strong feelings though, but it looks like the following would be better,
> perhaps:
>
> if (host_is_qualcom(host))
> udelay(1 + ((3 * USEC_PER_SEC)/host->mclk));
Am ok with your proposal. I was wondering if someone else might need it
in future.
If not I could change it as you suggested.
Thanks,
srini
>
> --
--
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