Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e634ce51 authored by Ezequiel Garcia's avatar Ezequiel Garcia Committed by Brian Norris
Browse files

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: default avatarEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 2a565f56
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1530,7 +1530,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;
	}