]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: remove autoincrement 'sndcmd' code
authorBrian Norris <computersforpeace@gmail.com>
Wed, 2 May 2012 00:12:54 +0000 (17:12 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 14 May 2012 04:15:16 +0000 (23:15 -0500)
commit54b62e3887b5ee22ba7f9998f5cc7399ce9197ba
treec8982f0df143c0b76e29f76c790f52e78220d96d
parentf813ae828d51658fc46ebef6b7097ddca887ec06
mtd: nand: remove autoincrement 'sndcmd' code

The NAND_NO_AUTOINCR option is always set, so we will kill the option and make
"no autoincrement" the default behavior for nand_base.c. Thus, we should remove
the code which decides whether or not to send the NAND_CMD_READ0 command.
Instead, we unconditionally send the command.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_base.c