fdt: fixup changes from commit 7a172ae7a3fc
authorLothar Waßmann <LW@KARO-electronics.de>
Tue, 25 Aug 2015 08:32:43 +0000 (10:32 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 25 Aug 2015 08:32:43 +0000 (10:32 +0200)
commitdd5fe2ee73021e496adb39deaa1a451b3295f32c
tree98adefb9198b76f5af6eaf072af2f928047095de
parente38c2c35d6644e1e38e4eb5c995ef7c5f66c0e65
fdt: fixup changes from commit 7a172ae7a3fc

commit 7a172ae7a3fc "fdt: fix incorrect placement of partition information for atmel_nand"
breaks the placement of the mtd partitions for other nand drivers.
Correct the condition to break out of the loop searching for subnodes
to fix this.
common/fdt_support.c