Patchwork [2/3,v3] NAND: denali should also handle NAND_CMD_PARAM

login
register
mail settings
Submitter Florian Fainelli
Date Aug. 30, 2010, 4:32 p.m.
Message ID <201008301832.20552.florian@openwrt.org>
Download mbox | patch
Permalink /patch/63076/
State New
Headers show

Comments

Florian Fainelli - Aug. 30, 2010, 4:32 p.m.
Signed-off-by: Florian Fainelli <ffainelli@freebox.fr>
---

Patch

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