]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[MTD] [NAND] fix subpage read for small page NAND
authorAlexey Korolev <akorolev@infradead.org>
Tue, 29 Jul 2008 12:54:11 +0000 (13:54 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 30 Jul 2008 10:59:24 +0000 (11:59 +0100)
commit96d8b647cfff90c8ff07863866aacdcd9d13cead
tree2ab2043e692f1cc03d84380d3e5ea820ec95dc6a
parent6e86841d05f371b5b9b86ce76c02aaee83352298
[MTD] [NAND] fix subpage read for small page NAND

Current implementation of subpage read feature for NAND has issues with
small page devices. Small page NAND do not support RNDOUT command.
So subpage feature is not applicable for them.

This patch disables support of subpage for small page NAND.
The code is verified on nandsim(SP NAND simulation) and on LP NAND
devices.

Thanks a lot to Artem for finding this issue.

Signed-off-by: Alexey Korolev <akorolev@infradead.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
include/linux/mtd/nand.h