diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2014-06-17 15:13:10 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2014-06-17 15:13:10 +0000 |
commit | d775e4ef00e08c839a41e101552be171ff638d3d (patch) | |
tree | 4024679a777f738166057959372d0706830fcd7e /target/linux/mvebu/patches-3.14/010-pxa3xx_nand_print_ECC_strength.patch | |
parent | 099d998fcf21c80e25a9518607285d1437d89be9 (diff) | |
download | upstream-d775e4ef00e08c839a41e101552be171ff638d3d.tar.gz upstream-d775e4ef00e08c839a41e101552be171ff638d3d.tar.bz2 upstream-d775e4ef00e08c839a41e101552be171ff638d3d.zip |
preliminary support for the WRT1900AC (work in progress)
SVN-Revision: 41232
Diffstat (limited to 'target/linux/mvebu/patches-3.14/010-pxa3xx_nand_print_ECC_strength.patch')
-rw-r--r-- | target/linux/mvebu/patches-3.14/010-pxa3xx_nand_print_ECC_strength.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/mvebu/patches-3.14/010-pxa3xx_nand_print_ECC_strength.patch b/target/linux/mvebu/patches-3.14/010-pxa3xx_nand_print_ECC_strength.patch new file mode 100644 index 0000000000..d02f5fea50 --- /dev/null +++ b/target/linux/mvebu/patches-3.14/010-pxa3xx_nand_print_ECC_strength.patch @@ -0,0 +1,22 @@ +From e634ce51baa52c131e4a35c01bba9e596a0eb86d Mon Sep 17 00:00:00 2001 +From: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> +Date: Thu, 27 Feb 2014 14:13:26 -0300 +Subject: mtd: nand: pxa3xx: Print actual ECC strength in error message + +The actual ECC strength used to select the ECC scheme is 'ecc_strength'. +Use it in the error message. + +Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> +Signed-off-by: Brian Norris <computersforpeace@gmail.com> + +--- a/drivers/mtd/nand/pxa3xx_nand.c ++++ b/drivers/mtd/nand/pxa3xx_nand.c +@@ -1531,7 +1531,7 @@ KEEP_CONFIG: + if (!ret) { + dev_err(&info->pdev->dev, + "ECC strength %d at page size %d is not supported\n", +- chip->ecc_strength_ds, mtd->writesize); ++ ecc_strength, mtd->writesize); + return -ENODEV; + } + |