Skip to content
Snippets Groups Projects
Commit c941b77a authored by Andrew Caldwell's avatar Andrew Caldwell Committed by Scott Wood
Browse files

Blackfin: nand: drain the write buffer before returning


The current Blackfin nand write function fills up the write buffer but
returns before it has had a chance to drain.  On faster systems, this
isn't a problem as the operation finishes before the ECC registers are
read, but on slower systems the ECC may be incomplete when the core tries
to read it.

So wait for the buffer to drain once we're done writing to it.

Signed-off-by: default avatarAndrew Caldwell <Andrew.Caldwell@analog.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 01f03bda
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment