Message ID | 1460913104-27388-2-git-send-email-zajec5@gmail.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3qnyZR5xFXz9t3v for <incoming@patchwork.ozlabs.org>; Mon, 18 Apr 2016 03:14:55 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=G94U+U1Q; dkim-atps=neutral Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1arqGP-0002l6-Ut; Sun, 17 Apr 2016 17:13:37 +0000 Received: from mail-lf0-x236.google.com ([2a00:1450:4010:c07::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1arqF3-0002MG-4M for linux-mtd@lists.infradead.org; Sun, 17 Apr 2016 17:12:13 +0000 Received: by mail-lf0-x236.google.com with SMTP id e190so193763390lfe.0 for <linux-mtd@lists.infradead.org>; Sun, 17 Apr 2016 10:11:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Nmc5vCrPSlJwXJBRLGpnSnt9858vNE4lTLGUN/9m1l8=; b=G94U+U1Qa9DKzdBLHKIo8IZ/9LRBOlFGY0GRktyri2hwx6uYGxNxv7VtsOOGi+sNOs jyZiuzHXB8LgXQzOfJQOmLu2c9Jlh5UnQVK50zRumGSOXlLsEe1+L6veYQd9TKkp2JiF Y6nsDI/C5wO4LIPrmEyr7kGS84X6qSo3yLRhg6z2dAe4uG8ffHUChtu+0tZmyYZoWlyI +4EwbO48Uq1YNHkXCLsXqHwTFUMhIklaSO/2C/tNnz6Yocq6w58gQLddCOzIZxnwkrkM 9ABpn20BbUtxHmEThdGskZjRQcymII5sbD1Y8WkWSK2Dp6/gK8nMzvjXBc9tocLanZbB CPAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Nmc5vCrPSlJwXJBRLGpnSnt9858vNE4lTLGUN/9m1l8=; b=KKGJTVJsDyOJAqQqHPB/01gDaPZKrtSByserGda41Do8+uDDC3PUkuQ3gtrIJXhDiS ywjh9DneU1OFRLDIuevSz074dFcdUED/DGoVivyKUWyoRqHY64EjmIfcjkrQq78j3wuA YLI/Lbvuu3LJRJBWlksaqTzPSEp3Q88ZfXgSDVgm394ESza3cc2wEPfEI2XueBM0/bsE AKGESdmSvXoCpnTobvng6NwTxCx/JxXksW2le8wBzyPllkD+4M7mZE8ndZswwD+HEe8b PhkP1GXJRaOFHSkXqFubST7BUsVGbWd9Dh5vCkvxQ5hfjRAKl3D+2v5b650GV0Ux/BRb T5xA== X-Gm-Message-State: AOPr4FXdce2t43Sagc1LonsDNAllEIGUfrVwaXGIeo82kbc3CfFKhB4jyDvLnWegLU4rcQ== X-Received: by 10.112.154.106 with SMTP id vn10mr12769578lbb.123.1460913111362; Sun, 17 Apr 2016 10:11:51 -0700 (PDT) Received: from linux-samsung.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id y77sm9514722lfd.15.2016.04.17.10.11.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Apr 2016 10:11:50 -0700 (PDT) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com> To: Boris Brezillon <boris.brezillon@free-electrons.com> Subject: [PATCH V2 01/11] mtd: nand: bf5xx: set ECC algorithm explicitly Date: Sun, 17 Apr 2016 19:11:34 +0200 Message-Id: <1460913104-27388-2-git-send-email-zajec5@gmail.com> X-Mailer: git-send-email 1.8.4.5 In-Reply-To: <1460913104-27388-1-git-send-email-zajec5@gmail.com> References: <1460750052-16285-1-git-send-email-zajec5@gmail.com> <1460913104-27388-1-git-send-email-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160417_101213_356897_D268451D X-CRM114-Status: GOOD ( 11.53 ) X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:4010:c07:0:0:0:236 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zajec5[at]gmail.com) 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (zajec5[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Linux MTD discussion mailing list <linux-mtd.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mtd/> List-Post: <mailto:linux-mtd@lists.infradead.org> List-Help: <mailto:linux-mtd-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=subscribe> Cc: Richard Weinberger <richard@nod.at>, =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>, open list <linux-kernel@vger.kernel.org>, linux-mtd@lists.infradead.org, Brian Norris <computersforpeace@gmail.com>, David Woodhouse <dwmw2@infradead.org> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-mtd" <linux-mtd-bounces@lists.infradead.org> Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
diff --git a/drivers/mtd/nand/bf5xx_nand.c b/drivers/mtd/nand/bf5xx_nand.c index b38f414..37da423 100644 --- a/drivers/mtd/nand/bf5xx_nand.c +++ b/drivers/mtd/nand/bf5xx_nand.c @@ -817,6 +817,7 @@ static int bf5xx_nand_probe(struct platform_device *pdev) chip->ecc.write_page_raw = bf5xx_nand_write_page_raw; } else { chip->ecc.mode = NAND_ECC_SOFT; + chip->ecc.algo = NAND_ECC_HAMMING; } /* scan hardware nand chip and setup mtd info data struct */
This is part of process deprecating NAND_ECC_SOFT_BCH (and switching to enum nand_ecc_algo). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> --- drivers/mtd/nand/bf5xx_nand.c | 1 + 1 file changed, 1 insertion(+)