[PATCH] [RESEND] mtd: docg4: fix status polling loop

Brian Norris computersforpeace at gmail.com
Fri Oct 11 11:16:15 PDT 2013


Hi Mike,

On Thu, Oct 10, 2013 at 10:25:27AM -0700, Mike Dunn wrote:
> The loop that polls the status register waiting for an operation to complete
> foolishly bases the timeout simply on the number of loop iterations that have
> ocurred.  When I increased the processor clock speed, timeouts started to appear
> for long block erasure operations.  This patch measures the timeout using
> jiffies.
> 
> Signed-off-by: Mike Dunn <mikedunn at newsguy.com>
> ---
> 
> This is a rework of an earlier patch, based on Artem's recommendation to use
> jiffies, not udelay() (thanks Artem).  I didn't mark it 'v2' because the rework
> makes the original name of the patch inaccurate, so now it has a different name.
> 
> This was originally sent a couple months ago... was probably a bad time.

Wow, this identical patch was sent as far back as May 31 and is being
submitted for the 3rd time now :( I hope there will be fewer "bad times"
like this in the future.

Applied to l2-mtd.git. Thanks for the tenacity.

Is this -stable material, despite the long delay (pun unintended)?

Brian



More information about the linux-mtd mailing list