Hi, On Mon, Aug 29, 2011 at 04:46:38PM +0200, Sebastian Andrzej Siewior wrote: > There are two spots where we wait until the HW finishes processing a > certain command. Initially we had a few problems and we used 500ms as a > limit to be on a the safe side. Now Paul thinks that this is little too > much. After looking here I don't hardly pass 20us and didn't pass 30usec > so far. So using mdelay() seems way overloaded. > Giving the current numbers I observe I think that 500usec as the upper > limit is enough. Should it ever timeout then something is probably > wrong. > Whilete here I also replace the type with u32 since long does not really > fits here. > > Cc: Paul Zimmerman <paul.zimmerman@xxxxxxxxxxxx> > Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> applied, thanks -- balbi
Attachment:
signature.asc
Description: Digital signature