OSDN Git Service

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)
commit1ee514d00d64678be30b6ce2d5daa49965b9ee2b
treea30703c6ddabfe328e945374947fb6b2830c45ae
parentad8b4f1454ad2c7509bc8bf8930bead59619d117
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