Message ID | 1460549222-24198-7-git-send-email-zajec5@gmail.com |
---|---|
State | Accepted |
Commit | d9944e1fdcd6c363a24577ac64c6d1128152ff6d |
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 [198.137.202.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 3qlN2C036kz9t41 for <incoming@patchwork.ozlabs.org>; Wed, 13 Apr 2016 22:11:31 +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=EORLo4iF; 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 1aqJce-0004NE-CC; Wed, 13 Apr 2016 12:10:16 +0000 Received: from mail-lf0-x234.google.com ([2a00:1450:4010:c07::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aqJbD-0002XA-5s for linux-mtd@lists.infradead.org; Wed, 13 Apr 2016 12:08:49 +0000 Received: by mail-lf0-x234.google.com with SMTP id j11so66342583lfb.1 for <linux-mtd@lists.infradead.org>; Wed, 13 Apr 2016 05:08:26 -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=WXpkTJThdoq5aCeYmctoatj8Y4vW5F/E3pn5S2Iix1A=; b=EORLo4iFuwZTGYDXJbl+184ESvij0wvZ1hh5U5Tvul8+UQQizrzevwWUMOvHTQ8JnW OmoU7AbcW3k+M5Nen94knW8NP6WIhjYaG62C+QE/9AwtdUilzhjuCX/477e63IScVRsZ ONKHlrpKwcDo2qJNMt9iBrgONngQKuWRi1tlmr+dDC3gqTdtPinyUkhBGDJ4KXpYXd8o L0tRRdTZIPe+VTuyjeNrouMP/M9ewcTMJCF+pFUIMbuBw4HgPNQqH6/tGBueNFsnszMY VCkF8Q9ICWqXhNxaFpQlZtju8bKxT+x87xG33uLqwB5klxhMtyNUN9QcCebNaQ7oBUoj 8iGQ== 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=WXpkTJThdoq5aCeYmctoatj8Y4vW5F/E3pn5S2Iix1A=; b=YI6S2vQgoPxafo0UqhfSnBgLmvHrVIIorviwpRSbEBNFbLUWE1Cfak4/wnAJJ+1xgy ljCI4xNHTcroVoSeD87o80CdEGQvfoqYzMpck8WhY5EjvbOMg2poff0JlIH6a6+1GBLY bmDDojHveNpJDrIKPRmrBc+CRCEpACVtKkzfFPF6FKjnyyxSszLqpmvOzz7muZQnCX90 Zusj7kKaf5HfoomcJwJThsRR20cmfvfKBcfeichpgpSNFuXK5o3KxePNSEhFVaAF+E8F tzt/2ElrKAo9BkI8cPop9n0lL5zjkTvLdB5Xs6WDvM+f444MQnScy+SgsPfktjpTnq5L PWng== X-Gm-Message-State: AOPr4FW8YK8PDDcV/SOULBveiSKIdCGYSetHODNKPQirkkJVdgIbbZFkXVLboUhjoiuRhw== X-Received: by 10.112.47.232 with SMTP id g8mr4079767lbn.55.1460549305276; Wed, 13 Apr 2016 05:08:25 -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 p195sm6200525lfd.11.2016.04.13.05.08.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Apr 2016 05:08:24 -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 6/9] mtd: nand: cmx270: set ECC algorithm explicitly Date: Wed, 13 Apr 2016 14:06:59 +0200 Message-Id: <1460549222-24198-7-git-send-email-zajec5@gmail.com> X-Mailer: git-send-email 1.8.4.5 In-Reply-To: <1460549222-24198-1-git-send-email-zajec5@gmail.com> References: <1460549222-24198-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-20160413_050847_743498_93A64FD2 X-CRM114-Status: GOOD ( 11.95 ) 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:234 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/cmx270_nand.c b/drivers/mtd/nand/cmx270_nand.c index 6f97ebb..4913378 100644 --- a/drivers/mtd/nand/cmx270_nand.c +++ b/drivers/mtd/nand/cmx270_nand.c @@ -187,6 +187,7 @@ static int __init cmx270_init(void) /* 15 us command delay time */ this->chip_delay = 20; this->ecc.mode = NAND_ECC_SOFT; + this->ecc.algo = NAND_ECC_HAMMING; /* read/write functions */ this->read_byte = cmx270_read_byte;
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/cmx270_nand.c | 1 + 1 file changed, 1 insertion(+)