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)
commitef296dc947f6a9300a7fb5b696d1e1f543479e18
tree169f8c7c00fe99a2e9103955eb44d779c97448b1
parente9d4faed71d5a63fa0ef8fcfef559f67f8b85a22
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
This page took 0.024544 seconds and 5 git commands to generate.