summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/nand_base.c
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2017-07-17 20:20:08 +0200
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-07-19 22:04:13 +0200
commit3aa0907675a38498d8f2d343e94207ad28a117cf (patch)
tree9c7694c5d92e7a4aef14e140774ec151600338c9 /drivers/mtd/nand/nand_base.c
parentLinux v4.13-rc1 (diff)
downloadlinux-3aa0907675a38498d8f2d343e94207ad28a117cf.tar.xz
linux-3aa0907675a38498d8f2d343e94207ad28a117cf.zip
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: f88fc122cc34 ("mtd: nand: Cleanup/rework the atmel_nand driver") Cc: <stable@vger.kernel.org> Tested-by: Romain Izard <romain.izard.pro@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/nand_base.c')
0 files changed, 0 insertions, 0 deletions