]> 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)
commitd37278e864d9c59e5f146920729192965f648a50
treeffb28776bdced8aaf94e406df9715ac754fa4860
parent91fe47388047224ed30760f7c484fdded0affc86
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