]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: fsmc: validate ECC setup by checking algorithm directly
authorRafał Miłecki <zajec5@gmail.com>
Sun, 17 Apr 2016 20:53:04 +0000 (22:53 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 5 May 2016 21:52:05 +0000 (23:52 +0200)
commit2514756c1082fdd0eec97a50f27db2b8ccc2f440
tree169f8c7c00fe99a2e9103955eb44d779c97448b1
parentea4a85a4e87d4f8fa1eadc5a0a0781fe3c197d46
mtd: nand: fsmc: validate ECC setup by checking algorithm directly

NAND core sets ECC algorithm in algo field now and it should be
preferred over the mode field. This also prepares driver for dropping
NAND_ECC_SOFT_BCH.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/fsmc_nand.c