Clean up parameters being passed to mtd
authorCharles Manning <cdhmanning@gmail.com>
Mon, 24 Jun 2013 05:13:30 +0000 (17:13 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Mon, 24 Jun 2013 05:13:30 +0000 (17:13 +1200)
commit3a6178aac1813ac8ef1ce63b232644385c1ab89b
treebd34b421f85d6afaad68cd44265076aad3a514cd
parent1dd2d1919e78641592098968e221b661a7451a58
Clean up parameters being passed to mtd

Some nand implementations are fussy about the parameters being passed in.

If the ptr or length of data or oob is zero, then clear out the whole
parameter pair.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs_mtdif_multi.c