]> 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)
commit7320a038cf63fa976c908e840353915a53d83559
treec8982f0df143c0b76e29f76c790f52e78220d96d
parent434641bf3ba8b9831eab3e2947b67c269615de7d
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