[PATCH 1/2] mtd: gpmi: Revert "mtd: gpmi: scan two nand chips"
Fabio Estevam
festevam at gmail.com
Wed Nov 6 12:16:11 EST 2013
From: Fabio Estevam <fabio.estevam at freescale.com>
This revert is needed so that the revert of commit f720e7ce5
("mtd: gpmi: remove the nand_scan()") can be succesfully applied.
This reverts commit cdef39de399fc6806f85c60ef97c9e394b3a92d4.
Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
index 7ac2280..a5c60c4 100644
--- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
+++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
@@ -1674,7 +1674,7 @@ static int gpmi_nfc_init(struct gpmi_nand_data *this)
if (ret)
goto err_out;
- ret = nand_scan_ident(mtd, 2, NULL);
+ ret = nand_scan_ident(mtd, 1, NULL);
if (ret)
goto err_out;
--
1.8.1.2
More information about the linux-mtd
mailing list