mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
mtd: atmel_nand: using a stronger ECC is not dangerous
We don't have to issue a warning when a stronger error correcting capability is chosen. Signed-off-by: Richard Genoud <richard.genoud@gmail.com> Acked-by: Josh Wu <josh.wu@atmel.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
11f164d111
commit
f666d6495a
1 changed files with 1 additions and 1 deletions
|
@ -995,7 +995,7 @@ static int __init atmel_pmecc_nand_init_params(struct platform_device *pdev,
|
|||
return err_no;
|
||||
}
|
||||
|
||||
if (cap != host->pmecc_corr_cap ||
|
||||
if (cap > host->pmecc_corr_cap ||
|
||||
sector_size != host->pmecc_sector_size)
|
||||
dev_info(host->dev, "WARNING: Be Caution! Using different PMECC parameters from Nand ONFI ECC reqirement.\n");
|
||||
|
||||
|
|
Loading…
Reference in a new issue