X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_mtdif2.c;h=83194814d0b5f06f64d3d06f9f49563f1a792000;hp=ee46296964bb47f1cc0ba509d3584eaeb5f55c92;hb=f8ce690845de29ca75d312207c8e59eac8bf85d4;hpb=5c97e0bdf340b75c0a644dbc05418db0c5d9e42d diff --git a/yaffs_mtdif2.c b/yaffs_mtdif2.c index ee46296..8319481 100644 --- a/yaffs_mtdif2.c +++ b/yaffs_mtdif2.c @@ -16,7 +16,7 @@ /* mtd interface for YAFFS2 */ const char *yaffs_mtdif2_c_version = - "$Id: yaffs_mtdif2.c,v 1.8 2005-09-20 05:23:41 charles Exp $"; + "$Id: yaffs_mtdif2.c,v 1.9 2005-12-07 21:49:18 charles Exp $"; #include "yportenv.h" @@ -93,7 +93,8 @@ int nandmtd2_ReadChunkWithTagsFromNAND(yaffs_Device * dev, int chunkInNAND, ("nandmtd2_ReadChunkWithTagsToNAND chunk %d data %p tags %p" TENDSTR), chunkInNAND, data, tags)); - if (data && tags) { + if (1 || /* Always do this */ + data && tags) { if (dev->useNANDECC) { retval = mtd->read_ecc(mtd, addr, dev->nBytesPerChunk,