[PATCH 4/7] mtd: Blackfin NFC: wait for the ECC reset to finish

David Woodhouse dwmw2 at infradead.org
Thu Aug 5 11:16:02 EDT 2010

On Thu, 2010-08-05 at 11:07 -0400, Mike Frysinger wrote:
> +       while (bfin_read_NFC_RST() & ECC_RST)
> +               cpu_relax(); 

All applied, but I'd be happier if this one had some kind of timeout and
didn't have the potential to loop forever if the hardware misbehaves.

David Woodhouse                            Open Source Technology Centre
David.Woodhouse at intel.com                              Intel Corporation

More information about the linux-mtd mailing list