ar71xx: fix rb922gs_nand_scan_fixup()
authorRoger Pueyo Centelles <roger.pueyo@guifi.net>
Thu, 21 Dec 2017 14:51:10 +0000 (15:51 +0100)
committerDaniel Golle <dangowrt@users.noreply.github.com>
Thu, 21 Dec 2017 16:06:54 +0000 (17:06 +0100)
commit8927446dae819c45cee178629dca612c90edd886
tree3eac21428a319145a30df83ec5c46eb3c459ffee
parentdda2229c52c78d177a417e261d3dd912f65101fe
ar71xx: fix rb922gs_nand_scan_fixup()

Apply code from commits 9e1bc27e6d67fa29791eb0fac5e5f0066d12a761
(ar71xx: Fix UBIFS work on Mikrotik RB95x devices) and
665bb2749906aff4d4ec607a308353fa30cb1b3a (ar71xx: fix invalid pointer
dereference in rb95x_nand_scan_fixup()) to RB92x devices too.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
target/linux/ar71xx/files/arch/mips/ath79/mach-rb922.c