Skip to content
Commit 9fee840c authored by Mike Dunn's avatar Mike Dunn Committed by Brian Norris
Browse files

mtd: docg4: fix status polling loop



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: default avatarMike Dunn <mikedunn@newsguy.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 5422933d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment