]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: jz4780: Update ecc correction error codes
authorHarvey Hunt <harvey.hunt@imgtec.com>
Fri, 8 Jan 2016 16:45:17 +0000 (16:45 +0000)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 8 Jan 2016 17:44:30 +0000 (09:44 -0800)
commit193e3e1879d315df8bb761c6320d187ee1e9cac7
treeffb28776bdced8aaf94e406df9715ac754fa4860
parent09e1ad84ad7259e9a8210bbf58007680258fcd3e
mtd: nand: jz4780: Update ecc correction error codes

Update jz4780_bch_ecc_correct's return codes with appropriate values,
as specified in /include/linux/mtd/nand.h.

Signed-off-by: Harvey Hunt <harvey.hunt@imgtec.com>
Cc: Alex Smith <alex@alex-smith.me.uk>
Cc: Boris Brezillon <boris.brezillon@free-electrons.com>
Cc: linux-kernel@vger.kernel.org
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/jz4780_bch.c