From: Stefan Agner Date: Fri, 9 Mar 2018 14:50:38 +0000 (+0100) Subject: mtd: rawnand: vf610_nfc: support ONFI SET/GET_FEATURES commands X-Git-Tag: v4.19~1278^2~1^2~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a722932a5af92189af45216e642bf9eb8f5fb883;p=platform%2Fkernel%2Flinux-rpi3.git mtd: rawnand: vf610_nfc: support ONFI SET/GET_FEATURES commands With the move to ->exec_op() the driver should now support ONFI SET/GET_FEATURES commands. Signed-off-by: Stefan Agner Reviewed-by: Miquel Raynal Signed-off-by: Boris Brezillon --- diff --git a/drivers/mtd/nand/raw/vf610_nfc.c b/drivers/mtd/nand/raw/vf610_nfc.c index bbec33f..7872a9e 100644 --- a/drivers/mtd/nand/raw/vf610_nfc.c +++ b/drivers/mtd/nand/raw/vf610_nfc.c @@ -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;