diff options
author | Barry Song <barry.song@analog.com> | 2010-08-05 11:07:40 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-08-05 11:14:15 -0400 |
commit | 00355b0baadf949f02ab7d3e2bd222e3fbcc72ee (patch) | |
tree | 593838f6a3a4886cca0be59cebbf6663b4eb9b96 /drivers/mtd | |
parent | fd508da2208696db146cd1be2bb2e8b799f6e3a2 (diff) |
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@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | 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 5c999e01db6f..d48cc39afc21 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) | |||
648 | val = (plat->page_size << NFC_PG_SIZE_OFFSET) | | 648 | val = (plat->page_size << NFC_PG_SIZE_OFFSET) | |
649 | (plat->data_width << NFC_NWIDTH_OFFSET) | | 649 | (plat->data_width << NFC_NWIDTH_OFFSET) | |
650 | (plat->rd_dly << NFC_RDDLY_OFFSET) | | 650 | (plat->rd_dly << NFC_RDDLY_OFFSET) | |
651 | (plat->rd_dly << NFC_WRDLY_OFFSET); | 651 | (plat->wr_dly << NFC_WRDLY_OFFSET); |
652 | dev_dbg(info->device, "NFC_CTL is 0x%04x\n", val); | 652 | dev_dbg(info->device, "NFC_CTL is 0x%04x\n", val); |
653 | 653 | ||
654 | bfin_write_NFC_CTL(val); | 654 | bfin_write_NFC_CTL(val); |