diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2014-02-27 12:13:26 -0500 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-03-11 01:42:30 -0400 |
commit | e634ce51baa52c131e4a35c01bba9e596a0eb86d (patch) | |
tree | 83a4a671c0270a0f0166c521db58fbcab0ab4f28 /drivers/mtd/nand/pxa3xx_nand.c | |
parent | 2a565f56ed0436c5345a79c5468bebfd3340fb10 (diff) |
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>
Diffstat (limited to 'drivers/mtd/nand/pxa3xx_nand.c')
-rw-r--r-- | drivers/mtd/nand/pxa3xx_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c index 1e136a6d03d9..7588fe2c127f 100644 --- a/drivers/mtd/nand/pxa3xx_nand.c +++ b/drivers/mtd/nand/pxa3xx_nand.c | |||
@@ -1530,7 +1530,7 @@ KEEP_CONFIG: | |||
1530 | if (!ret) { | 1530 | if (!ret) { |
1531 | dev_err(&info->pdev->dev, | 1531 | dev_err(&info->pdev->dev, |
1532 | "ECC strength %d at page size %d is not supported\n", | 1532 | "ECC strength %d at page size %d is not supported\n", |
1533 | chip->ecc_strength_ds, mtd->writesize); | 1533 | ecc_strength, mtd->writesize); |
1534 | return -ENODEV; | 1534 | return -ENODEV; |
1535 | } | 1535 | } |
1536 | 1536 | ||