lkml.org 
[lkml]   [2011]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mmc: use usleep_range() in mmc_delay()
On 12/21/2011 03:25 PM, Sujit Reddy Thumma wrote:

> I have posted similar patch some time back.
> http://comments.gmane.org/gmane.linux.ports.arm.msm/2119.
>
> Would you like to comment on that?

- I believe we should forget about jiffies, HZ and other similar obsolete
timekeeping stuff;

- I have no ideas where did you get 'most typical' 20 ms. MMC subsystem uses
mmc_delay() with two compile-time fixed values 1 and 10 ms, with the only
exception of card-dependent sleep/awake timeout. I was unable to find a table
with typical values, but it's rounded up to >= 1 ms anyway.

Dmitry


\
 
 \ /
  Last update: 2011-12-21 14:07    [W:0.368 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site