Message ID | 1460926387-9563-2-git-send-email-zajec5@gmail.com |
---|---|
State | Accepted |
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 3qp3X75bHYz9sDb for <incoming@patchwork.ozlabs.org>; Mon, 18 Apr 2016 06:58:15 +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=ptBM/zgP; 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 1artjQ-0008Mj-LT; Sun, 17 Apr 2016 20:55:48 +0000 Received: from mail-lf0-x233.google.com ([2a00:1450:4010:c07::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1arthL-000722-Q7 for linux-mtd@lists.infradead.org; Sun, 17 Apr 2016 20:53:40 +0000 Received: by mail-lf0-x233.google.com with SMTP id j11so196469225lfb.1 for <linux-mtd@lists.infradead.org>; Sun, 17 Apr 2016 13:53:19 -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=ptBM/zgPOS8GOa59zPJnTQULHADW9/a3PgZerav8og1N2sehyXWFxro6MpmQRWzZ3Y mjW2KUXx4Uq8SdK+ZQ3Z2QGw+Yn/8AbtSm26CWEY4aW8WdmUUApVILQH3qyRTv6Irgzk UzifK7kWkFw4hi59B8fqMfUmG/LVoW6x174UFGZfVi348d/9zZYVCO4eO0qWUL6rPJqr Ibpl13k2YTwG69hkfb8eLUg49hy3XqVarc0MeG3TRvlXBuZ5R0Evn2XpIyGMqIplyHAj plbZgpJ31PEz1Ay5cdw+XfrMJcF1gFFHU5Zv6qdk9N/3cmAGr/FyvsrQ+82WoL4oglIu OJvA== 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=I8SVWuThOAgRfFY8fqiZaRwYip5u+OcMKVyOT0sw+QCu63FVTjKPIb+V8c/KT2yrkQ ntqnRovH7mS2baWMkU3SEPmifbXdQL9alBGrZjcL7PxsuoSqyH2mlXXO2NWrZTnL7fdn XU2Do4B+4CpgwWGtncQB9jBLNhfXQsYJ9sXklB7xfcOL/gbH9CgkIGYe05LcJTBppBm9 Fp7ckVsJJr1VSEtTP0u/jFS21IQ71aSM4l+QFodoLo8tQc4cKQfZWAjqQEzYwvWWilSj AAUGCy6AlK/OoigGZqKSPNcNBwE8uHsVz0NbzUtCHvCjc6DRATW7x/Y/xejndoISpop1 94yg== X-Gm-Message-State: AOPr4FU4Q++nzYp6XXEDPi3LBiCDfik+XCidD3aJeiSLOwC+R0fTh3SwDNQ+tvz/8MUDew== X-Received: by 10.25.149.204 with SMTP id x195mr12957572lfd.33.1460926398057; Sun, 17 Apr 2016 13:53:18 -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 l191sm9877178lfl.19.2016.04.17.13.53.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Apr 2016 13:53:17 -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 V3 01/11] mtd: nand: bf5xx: set ECC algorithm explicitly Date: Sun, 17 Apr 2016 22:52:57 +0200 Message-Id: <1460926387-9563-2-git-send-email-zajec5@gmail.com> X-Mailer: git-send-email 1.8.4.5 In-Reply-To: <1460926387-9563-1-git-send-email-zajec5@gmail.com> References: <1460913104-27388-1-git-send-email-zajec5@gmail.com> <1460926387-9563-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_135340_027660_E7DCD167 X-CRM114-Status: GOOD ( 11.33 ) 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:233 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(+)