linux_dsm_epyc7002/drivers/mtd/nand/atmel
Boris Brezillon 3aa0907675 mtd: nand: atmel: Fix DT backward compatibility in pmecc.c
PMECC caps extraction from old DT bindings is broken, thus leading to
erroneous EL registers offset, which in turn make HW ECC unusable on
sama5d2 when old bindings are in use.

Passing the NAND dev node instead of the NFC node to of_match_node()
solves the problem.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Fixes: f88fc122cc ("mtd: nand: Cleanup/rework the atmel_nand driver")
Cc: <stable@vger.kernel.org>
Tested-by: Romain Izard <romain.izard.pro@gmail.com>
2017-07-19 22:04:13 +02:00
..
Makefile mtd: nand: Cleanup/rework the atmel_nand driver 2017-04-25 14:18:29 +02:00
nand-controller.c mtd: nand: atmel: drop unused include 2017-06-13 15:06:55 +02:00
pmecc.c mtd: nand: atmel: Fix DT backward compatibility in pmecc.c 2017-07-19 22:04:13 +02:00
pmecc.h mtd: nand: Cleanup/rework the atmel_nand driver 2017-04-25 14:18:29 +02:00