mtd: nand: denali should also handle NAND_CMD_PARAM

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sun Oct 24 20:59:04 EDT 2010


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=42af8b58fb5ec97214e85780db71bb9d60541fcc
Commit:     42af8b58fb5ec97214e85780db71bb9d60541fcc
Parent:     caa4b6f24c2cae586ed3f371ddde7fc1fc75b322
Author:     Florian Fainelli <florian at openwrt.org>
AuthorDate: Mon Aug 30 18:32:20 2010 +0200
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Sun Oct 24 23:45:05 2010 +0100

    mtd: nand: denali should also handle NAND_CMD_PARAM
    
    Signed-off-by: Florian Fainelli <ffainelli at freebox.fr>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/nand/denali.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c
index 532fe07..8c8d3c8 100644
--- a/drivers/mtd/nand/denali.c
+++ b/drivers/mtd/nand/denali.c
@@ -1292,6 +1292,7 @@ static void denali_cmdfunc(struct mtd_info *mtd, unsigned int cmd, int col,
 		read_status(denali);
 		break;
 	case NAND_CMD_READID:
+	case NAND_CMD_PARAM:
 		reset_buf(denali);
 		/*sometimes ManufactureId read from register is not right
 		 * e.g. some of Micron MT29F32G08QAA MLC NAND chips



More information about the linux-mtd-cvs mailing list