]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: read ECC algorithm from the new field
authorRafał Miłecki <zajec5@gmail.com>
Sun, 17 Apr 2016 20:53:05 +0000 (22:53 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 5 May 2016 21:55:10 +0000 (23:55 +0200)
commit63f78a9179ca4f55f18e3a5740843da4bde5f3d0
tree0c93f6f3bfca05225e784fb5f73556ab8782f8f3
parent2514756c1082fdd0eec97a50f27db2b8ccc2f440
mtd: nand: read ECC algorithm from the new field

Now we have all drivers properly setting this new field we can start
using it. For a very short period of time we should support both values:
NAND_ECC_SOFT and NAND_ECC_SOFT_BCH treating them the same. It's because
of_get_nand_ecc_mode may still be setting 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/nand_base.c