mtd: rawnand: intel: Read the chip-select line from the correct OF node
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 2 Jul 2022 23:12:22 +0000 (01:12 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 20 Sep 2022 08:06:49 +0000 (10:06 +0200)
commitbfc618fcc3f167ad082053e81e9d664e724c6288
treef2e8f10ced438a7d5e249714c59bdde18f9552df
parent9fac2a193e4553d6ce093a626ef5920c362d0753
mtd: rawnand: intel: Read the chip-select line from the correct OF node

The chip select has to be read from the flash node which is a child node
of the NAND controller.

Fixes: 0b1039f016e8a3 ("mtd: rawnand: Add NAND controller support on Intel LGM SoC")
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220702231227.1579176-4-martin.blumenstingl@googlemail.com
drivers/mtd/nand/raw/intel-nand-controller.c