]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: gpmi: Drop unnecessary restoring of previous chipselection
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 21 May 2019 07:06:37 +0000 (09:06 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 27 Jun 2019 18:05:28 +0000 (20:05 +0200)
commit4157857b9bfb7d854d2077a52100e89076ce6f83
treea30703c6ddabfe328e945374947fb6b2830c45ae
parent815d2c09f4a436d1668f5abc4e200c96292a048d
mtd: rawnand: gpmi: Drop unnecessary restoring of previous chipselection

The i.MX23 specific option read code is called right after nand_scan. We
can rely on the NAND core having disabled the chipselect, so there's no
point in restoring the original chip select after NAND operations. Drop
it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c