From patchwork Fri Mar 9 14:50:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Agner X-Patchwork-Id: 883762 X-Patchwork-Delegate: boris.brezillon@free-electrons.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=agner.ch Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ifvbYHH1"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="n8B1R4/C"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zyY8C3W2Cz9s9F for ; Sat, 10 Mar 2018 03:42:35 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=ebVlsVzPrziYenYqRZiBiRz89DYx/RC8xbCRWmO3i+0=; b=ifvbYHH121KX587PT9u5pj30JK qi4+Gjs+l7w3KHub2xxJiopS7U0soyxOpl1mtCGaERW5v270baqG6C8EAoC3tyj1Rfb+Juhdzc+8A UUsUnEXSJwRhyAGpIdvzh2G3OMpVxcjlpHAXnK4ZQW+YU8PwggrPThn+im+pSryCHEcP+16GR8slW edwATvTSysiBBtbYF7eAkOp9c3zuCi5za/c6CNseCepXO98y25pkWjPKhrFfGrErkzicR3VowgyBr SuqxphBHHYl7SCbyxK8h3RWCNRyMi8hkRvwSeHhd37k7/T044ApSPG3YqSQK+J5vmdNroayQB8VDj vFa5jmGw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1euL6B-0007pR-Ju; Fri, 09 Mar 2018 16:42:27 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1euL5n-0007Q8-Q1 for linux-mtd@bombadil.infradead.org; Fri, 09 Mar 2018 16:42:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=9rzpEy28Fo4JYpsH/17XuzJYTBDp5stLV17Je6NyoKc=; b=n8B1R4/CKxq/BneQaiGnhPDOk fPf+9Quadkth2ONidkq1ZdczhLigryxDKefu4uj9tcRfHVm2dILzre5Q3OsOsqhH73UvLwOyagQSL tbpCwEeFsqdyB5P29ek1eeH4kp6W0C8tsXbmLobbB9nXGaxj5qqSdwHdOUvQ91iRkYti3jp3KiTlL AKaJRCoZ/cIv6QP3hVdWdEJqnsRyhyB8Nnd6phi7jSaVnu64elJrGYb6P2WUac5SQvbofL7apYYEQ 4T8h1iIKkCzUlGg4CehYipYzrKb1okqjUic95laZT2ojBMUfk/5ciVh3/ehmsqiAFLnDFb2vDh6N4 r5CVnRogg==; Received: from mail.kmu-office.ch ([178.209.48.109]) by merlin.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1euJMM-000607-VV for linux-mtd@lists.infradead.org; Fri, 09 Mar 2018 14:51:04 +0000 Received: from trochilidae.toradex.int (unknown [IPv6:2001:1620:c6e::587]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 1A72C5C13DA; Fri, 9 Mar 2018 15:50:36 +0100 (CET) From: Stefan Agner To: miquel.raynal@free-electrons.com, boris.brezillon@free-electrons.com Subject: [PATCH v7 3/3] mtd: rawnand: vf610_nfc: support ONFI SET/GET_FEATURES commands Date: Fri, 9 Mar 2018 15:50:38 +0100 Message-Id: <20180309145038.29024-4-stefan@agner.ch> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180309145038.29024-1-stefan@agner.ch> References: <20180309145038.29024-1-stefan@agner.ch> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180309_095103_131580_8037B323 X-CRM114-Status: GOOD ( 15.58 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.1 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [178.209.48.109 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: marcel.ziswiler@toradex.com, richard@nod.at, bpringlemeir@gmail.com, stefan@agner.ch, marek.vasut@gmail.com, linux-mtd@lists.infradead.org, cyrille.pitchen@wedev4u.fr, computersforpeace@gmail.com, dwmw2@infradead.org MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org 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 --- drivers/mtd/nand/raw/vf610_nfc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mtd/nand/raw/vf610_nfc.c b/drivers/mtd/nand/raw/vf610_nfc.c index 4f2e8578fb1d..98d411d980c8 100644 --- a/drivers/mtd/nand/raw/vf610_nfc.c +++ b/drivers/mtd/nand/raw/vf610_nfc.c @@ -805,8 +805,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;