提交 f666d649 编写于 作者: R Richard Genoud 提交者: David Woodhouse

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: NRichard Genoud <richard.genoud@gmail.com>
Acked-by: NJosh Wu <josh.wu@atmel.com>
Signed-off-by: NArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
上级 11f164d1
......@@ -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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册