commit | 752b957a37ee1cc09fccb39a8bc5843edf32119b | [log] [tgz] |
---|---|---|
author | Barry Song <barry.song@analog.com> | Thu Aug 05 11:07:41 2010 -0400 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Thu Aug 05 16:14:24 2010 +0100 |
tree | 8640f15b201f49348d8c2e1cc0ff668b680c502d | |
parent | 00355b0baadf949f02ab7d3e2bd222e3fbcc72ee [diff] |
mtd: Blackfin NFC: wait for the ECC reset to finish When resetting the ECC registers/counters, the bit will automatically clear itself once the reset has actually finished. So make sure we wait for that to occur before doing anything else rather than assuming everything is peachy and proceeding with stale ECC values. Signed-off-by: Barry Song <barry.song@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>