mtd: rawnand: vf610_nfc: support ONFI SET/GET_FEATURES commands
authorStefan Agner <stefan@agner.ch>
Fri, 9 Mar 2018 14:50:38 +0000 (15:50 +0100)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Sat, 17 Mar 2018 14:35:32 +0000 (15:35 +0100)
With the move to ->exec_op() the driver should now support ONFI
SET/GET_FEATURES commands.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
drivers/mtd/nand/raw/vf610_nfc.c

index bbec33f..7872a9e 100644 (file)
@@ -814,8 +814,6 @@ static int vf610_nfc_probe(struct platform_device *pdev)
 
        chip->exec_op = vf610_nfc_exec_op;
        chip->select_chip = vf610_nfc_select_chip;
-       chip->onfi_set_features = nand_onfi_get_set_features_notsupp;
-       chip->onfi_get_features = nand_onfi_get_set_features_notsupp;
 
        chip->options |= NAND_NO_SUBPAGE_WRITE;