commit | 782ce79a45b3b850b108896fcf7da26754061c8f | [log] [tgz] |
---|---|---|
author | Maxim Levitsky <maximlevitsky@gmail.com> | Mon Feb 22 20:39:36 2010 +0200 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Fri Feb 26 17:47:47 2010 +0000 |
tree | 33048893319b835e1eeadbd89b9bf647d13cc81c | |
parent | 9aca334e854c319ccafea871006fda3814196e7b [diff] |
mtd: nand: cleanup the nand_do_write_ops nand_do_write_ops was broken in regard to writing several pages, each with its own oob. Although nand_do_write_ops intends to allow such mode, it fails do do so Probably this was never tested. Also add missing checks for attempts to write at illegal offsets. Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>