[MTD] NAND simplify nand_chip_select
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri May 26 19:59:01 EDT 2006
Commit: cca3b837bbb4c984165f9f9c7c06846bc0425791
Parent: 29da9cea46f65cb9488641354fe554e9ef8a3a85
Author: Thomas Gleixner <tglx at cruncher.tec.linutronix.de>
AuthorDate: Sat May 27 00:47:18 2006 +0200
Commit: Thomas Gleixner <tglx at cruncher.tec.linutronix.de>
CommitDate: Sat May 27 00:47:18 2006 +0200
[MTD] NAND simplify nand_chip_select
nCE setting can be done when the first command is issued to the device.
We keep the deselect functionality as it makes sense to deassert nCE
when the device becomes idle.
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
drivers/mtd/nand/nand_base.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
index bb18476..0c8da8f 100644
--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
@@ -174,8 +174,6 @@ static void nand_select_chip(struct mtd_
chip->cmd_ctrl(mtd, NAND_CMD_NONE, 0 | NAND_CTRL_CHANGE);
break;
case 0:
- chip->cmd_ctrl(mtd, NAND_CMD_NONE,
- NAND_NCE | NAND_CTRL_CHANGE);
break;
default:
More information about the linux-mtd-cvs
mailing list