aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/nand/pxa3xx_nand.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c
index f463ad272d3b..9140fdc42bca 100644
--- a/drivers/mtd/nand/pxa3xx_nand.c
+++ b/drivers/mtd/nand/pxa3xx_nand.c
@@ -670,6 +670,7 @@ static void pxa3xx_nand_cmdfunc(struct mtd_info *mtd, unsigned command,
670 /* disable HW ECC to get all the OOB data */ 670 /* disable HW ECC to get all the OOB data */
671 info->buf_count = mtd->writesize + mtd->oobsize; 671 info->buf_count = mtd->writesize + mtd->oobsize;
672 info->buf_start = mtd->writesize + column; 672 info->buf_start = mtd->writesize + column;
673 memset(info->data_buff, 0xFF, info->buf_count);
673 674
674 if (prepare_read_prog_cmd(info, cmdset->read1, column, page_addr)) 675 if (prepare_read_prog_cmd(info, cmdset->read1, column, page_addr))
675 break; 676 break;