[PATCH] at91_nand: control NCE signal

Andrew Victor avictor.za at gmail.com
Fri Apr 25 16:54:08 EDT 2008


hi Atsushi,

> This driver did not control NCE signal during normal operations (only
>  enable NCE on probing and disable NCE on removing).  This patch make
>  NCE signal inactive on idle state.

It might be better to call the existing at91_nand_enable() and
at91_nand_disable() functions.
ie,
        if (ctrl & NAND_CTRL_CHANGE) {
                if (ctrl & NAND_NCE)
                        at91_nand_enable(host)
                else
                        at91_nand_disable(host);
        }


Regards,
  Andrew Victor



More information about the linux-mtd mailing list