]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit18a26bbc6d59a32c1241c570a10077097178ead2
treef2e8f10ced438a7d5e249714c59bdde18f9552df
parent45c6ac3ccc65a9af673ead2b29f2dab9bd389b41
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: 3f65cf4d8461a5 ("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