From: Florian Fainelli Date: Mon, 30 Aug 2010 16:32:20 +0000 (+0200) Subject: mtd: nand: denali should also handle NAND_CMD_PARAM X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=42af8b58fb5ec97214e85780db71bb9d60541fcc;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git mtd: nand: denali should also handle NAND_CMD_PARAM Signed-off-by: Florian Fainelli Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c index 532fe07cf886..8c8d3c86c0e8 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