From: "Rafał Miłecki" <zajec5@gmail.com>
To: Boris Brezillon <boris.brezillon@free-electrons.com>
Cc: "Richard Weinberger" <richard@nod.at>,
linux-mtd@lists.infradead.org, "Rafał Miłecki" <zajec5@gmail.com>,
"David Woodhouse" <dwmw2@infradead.org>,
"Brian Norris" <computersforpeace@gmail.com>,
linux-kernel@vger.kernel.org (open list)
Subject: [PATCH 5/8] mtd: nand: orion: set ECC algorithm explicitly
Date: Fri, 8 Apr 2016 12:23:48 +0200 [thread overview]
Message-ID: <1460111031-8706-6-git-send-email-zajec5@gmail.com> (raw)
In-Reply-To: <1460111031-8706-1-git-send-email-zajec5@gmail.com>
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/orion_nand.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd/nand/orion_nand.c b/drivers/mtd/nand/orion_nand.c
index d4614bf..40a7c4a 100644
--- a/drivers/mtd/nand/orion_nand.c
+++ b/drivers/mtd/nand/orion_nand.c
@@ -130,6 +130,7 @@ static int __init orion_nand_probe(struct platform_device *pdev)
nc->cmd_ctrl = orion_nand_cmd_ctrl;
nc->read_buf = orion_nand_read_buf;
nc->ecc.mode = NAND_ECC_SOFT;
+ nc->ecc.algo = NAND_ECC_HAMMING;
if (board->chip_delay)
nc->chip_delay = board->chip_delay;
--
1.8.4.5
next prev parent reply other threads:[~2016-04-08 10:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-08 10:23 [PATCH 0/8] mtd: nand: set ECC algorithm explicitly Rafał Miłecki
2016-04-08 10:23 ` [PATCH 1/8] mtd: nand: ams-delta: " Rafał Miłecki
2016-04-08 10:23 ` [PATCH 2/8] mtd: nand: gpio: " Rafał Miłecki
2016-04-08 10:23 ` [PATCH 3/8] mtd: nand: mxc: " Rafał Miłecki
2016-04-08 10:23 ` [PATCH 4/8] mtd: nand: nuc900: " Rafał Miłecki
2016-04-08 10:23 ` Rafał Miłecki [this message]
2016-04-08 10:23 ` [PATCH 6/8] mtd: nand: pasemi: " Rafał Miłecki
2016-04-08 10:23 ` [PATCH 7/8] mtd: nand: plat: " Rafał Miłecki
2016-04-08 10:23 ` [PATCH 8/8] mtd: nand: socrates: " Rafał Miłecki
2016-04-13 7:45 ` [PATCH 0/8] mtd: nand: " Boris Brezillon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1460111031-8706-6-git-send-email-zajec5@gmail.com \
--to=zajec5@gmail.com \
--cc=boris.brezillon@free-electrons.com \
--cc=computersforpeace@gmail.com \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=richard@nod.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox