mtd: nand: denali should also handle NAND_CMD_PARAM
authorFlorian Fainelli <florian@openwrt.org>
Mon, 30 Aug 2010 16:32:20 +0000 (18:32 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 24 Oct 2010 22:45:05 +0000 (23:45 +0100)
Signed-off-by: Florian Fainelli <ffainelli@freebox.fr>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/denali.c

index 532fe07cf886e9850dfeb03905a42eecb0635220..8c8d3c86c0e82a16d304362cc637d55b2e36a0b1 100644 (file)
@@ -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