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 9/9] mtd: nand: fsl_elbc: set ECC algorithm explicitly
Date: Wed, 13 Apr 2016 14:07:02 +0200 [thread overview]
Message-ID: <1460549222-24198-10-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/fsl_elbc_nand.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd/nand/fsl_elbc_nand.c b/drivers/mtd/nand/fsl_elbc_nand.c
index 059d5f7..9d2d191 100644
--- a/drivers/mtd/nand/fsl_elbc_nand.c
+++ b/drivers/mtd/nand/fsl_elbc_nand.c
@@ -789,6 +789,7 @@ static int fsl_elbc_chip_init(struct fsl_elbc_mtd *priv)
} else {
/* otherwise fall back to default software ECC */
chip->ecc.mode = NAND_ECC_SOFT;
+ chip->ecc.algo = NAND_ECC_HAMMING;
}
return 0;
--
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 ` [PATCH 4/9] mtd: nand: au1550nd: " Rafał Miłecki
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 ` Rafał Miłecki [this message]
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-10-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