lkml.org 
[lkml]   [2014]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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
>
> --


\
 
 \ /
  Last update: 2014-04-22 11:41    [W:0.088 / U:1.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site