projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29da9ce
)
[MTD] NAND simplify nand_chip_select
author
Thomas Gleixner
<
[email protected]
>
Fri, 26 May 2006 22:47:18 +0000
(
00:47
+0200)
committer
Thomas Gleixner
<
[email protected]
>
Fri, 26 May 2006 22:47:18 +0000
(
00:47
+0200)
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 <
[email protected]
>
drivers/mtd/nand/nand_base.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/nand_base.c
b/drivers/mtd/nand/nand_base.c
index bb18476acd7b4556c922b0cd2b0a7ab601a588a2..0c8da8fab89d4063ee0f3b87c1d2bd4382335564 100644
(file)
--- 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_info *mtd, int chipnr)
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: