From: "Rafał Miłecki" <zajec5@gmail.com>
To: Boris Brezillon <boris.brezillon@free-electrons.com>
Cc: linux-mtd@lists.infradead.org, "Rafał Miłecki" <zajec5@gmail.com>,
"Richard Weinberger" <richard@nod.at>,
"David Woodhouse" <dwmw2@infradead.org>,
"Brian Norris" <computersforpeace@gmail.com>,
linux-kernel@vger.kernel.org (open list)
Subject: [PATCH 4/9] mtd: nand: au1550nd: set ECC algorithm explicitly
Date: Wed, 13 Apr 2016 14:06:57 +0200 [thread overview]
Message-ID: <1460549222-24198-5-git-send-email-zajec5@gmail.com> (raw)
In-Reply-To: <1460549222-24198-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/au1550nd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd/nand/au1550nd.c b/drivers/mtd/nand/au1550nd.c
index 341ea49..9bf6d99 100644
--- a/drivers/mtd/nand/au1550nd.c
+++ b/drivers/mtd/nand/au1550nd.c
@@ -459,6 +459,7 @@ static int au1550nd_probe(struct platform_device *pdev)
/* 30 us command delay time */
this->chip_delay = 30;
this->ecc.mode = NAND_ECC_SOFT;
+ this->ecc.algo = NAND_ECC_HAMMING;
if (pd->devwidth)
this->options |= NAND_BUSWIDTH_16;
--
1.8.4.5
next prev parent reply other threads:[~2016-04-13 12:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-13 12:06 [PATCH 0/9] mtd: nand: set ECC algorithm explicitly (part 2) Rafał Miłecki
2016-04-13 12:06 ` [PATCH 1/9] mtd: nand: omap2: set ECC algorithm explicitly Rafał Miłecki
2016-04-13 12:06 ` [PATCH 2/9] mtd: nand: s3c2410: " Rafał Miłecki
2016-04-13 12:06 ` [PATCH 3/9] mtd: nand: sh_flctl: " Rafał Miłecki
2016-04-13 12:06 ` Rafał Miłecki [this message]
2016-04-13 12:06 ` [PATCH 5/9] mtd: nand: mpc5121_nfc: " Rafał Miłecki
2016-04-13 12:06 ` [PATCH 6/9] mtd: nand: cmx270: " Rafał Miłecki
2016-04-13 12:07 ` [PATCH 7/9] mtd: nand: fsl_upm: " Rafał Miłecki
2016-04-13 12:07 ` [PATCH 8/9] mtd: nand: fsl_ifc: " Rafał Miłecki
2016-04-13 12:07 ` [PATCH 9/9] mtd: nand: fsl_elbc: " Rafał Miłecki
2016-04-13 17:25 ` [PATCH 0/9] mtd: nand: set ECC algorithm explicitly (part 2) Boris Brezillon
2016-04-14 10:01 ` 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=1460549222-24198-5-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