]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/mtd/nand/atmel_nand.c
mtd: atmel_nand: Do not warn on bitflips
authorRomain Izard <romain.izard.pro@gmail.com>
Wed, 13 Jan 2016 16:34:13 +0000 (17:34 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Sat, 23 Jan 2016 20:43:33 +0000 (12:43 -0800)
commit12197bf21c26e23053fa6223f3a731a965542986
treeeee6893f085d1f8680c44fcf0459f8e944cdaa7d
parent4be4e03efc7f45ec002e8eddc83c22f80fed392c
mtd: atmel_nand: Do not warn on bitflips

When using multi-bit ECC, it is normal for the NAND Flash driver to
correct bit errors during the life of the product. Those errors will
only be cleared once a threshold has been reached, and corrections can
occur regularly before this.

Use only dev_dbg and not dev_info to report the bitflips, to keep the
system log clean when everything works correctly.

Signed-off-by: Romain Izard <romain.izard.pro@gmail.com>
Acked-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/atmel_nand.c