mtd: Blackfin NFC: fix typo for read/write delay setup
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Thu Aug 5 11:59:01 EDT 2010
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=00355b0baadf949f02ab7d3e2bd222e3fbcc72ee
Commit: 00355b0baadf949f02ab7d3e2bd222e3fbcc72ee
Parent: fd508da2208696db146cd1be2bb2e8b799f6e3a2
Author: Barry Song <barry.song at analog.com>
AuthorDate: Thu Aug 5 11:07:40 2010 -0400
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Thu Aug 5 16:14:15 2010 +0100
mtd: Blackfin NFC: fix typo for read/write delay setup
We used the platform rd_dly field when we meant to use the wr_dly field.
Signed-off-by: Barry Song <barry.song at analog.com>
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
drivers/mtd/nand/bf5xx_nand.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/nand/bf5xx_nand.c b/drivers/mtd/nand/bf5xx_nand.c
index 5c999e0..d48cc39 100644
--- a/drivers/mtd/nand/bf5xx_nand.c
+++ b/drivers/mtd/nand/bf5xx_nand.c
@@ -648,7 +648,7 @@ static int bf5xx_nand_hw_init(struct bf5xx_nand_info *info)
val = (plat->page_size << NFC_PG_SIZE_OFFSET) |
(plat->data_width << NFC_NWIDTH_OFFSET) |
(plat->rd_dly << NFC_RDDLY_OFFSET) |
- (plat->rd_dly << NFC_WRDLY_OFFSET);
+ (plat->wr_dly << NFC_WRDLY_OFFSET);
dev_dbg(info->device, "NFC_CTL is 0x%04x\n", val);
bfin_write_NFC_CTL(val);
More information about the linux-mtd-cvs
mailing list