]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitc00a0991d14dce8d714becc49ec8ae5db9c8ac98
treec8982f0df143c0b76e29f76c790f52e78220d96d
parent831d316b8b80b68dcdd2b3f5ede6d33c2bbf5835
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