Skip to content

Commit

Permalink
[MTD] NAND simplify nand_chip_select
Browse files Browse the repository at this point in the history
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@linutronix.de>
  • Loading branch information
Thomas Gleixner committed May 26, 2006
1 parent 29da9ce commit cca3b83
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/mtd/nand/nand_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cca3b83

Please sign in to comment.