diff options
Diffstat (limited to 'drivers/mtd/devices/doc2001plus.c')
-rw-r--r-- | drivers/mtd/devices/doc2001plus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/devices/doc2001plus.c b/drivers/mtd/devices/doc2001plus.c index 2b30b587c6e8..83be3461658f 100644 --- a/drivers/mtd/devices/doc2001plus.c +++ b/drivers/mtd/devices/doc2001plus.c | |||
@@ -748,7 +748,7 @@ static int doc_write(struct mtd_info *mtd, loff_t to, size_t len, | |||
748 | WriteDOC(DoC_GetDataOffset(mtd, &fto), docptr, Mplus_FlashCmd); | 748 | WriteDOC(DoC_GetDataOffset(mtd, &fto), docptr, Mplus_FlashCmd); |
749 | 749 | ||
750 | /* On interleaved devices the flags for 2nd half 512 are before data */ | 750 | /* On interleaved devices the flags for 2nd half 512 are before data */ |
751 | if (eccbuf && before) | 751 | if (before) |
752 | fto -= 2; | 752 | fto -= 2; |
753 | 753 | ||
754 | /* issue the Serial Data In command to initial the Page Program process */ | 754 | /* issue the Serial Data In command to initial the Page Program process */ |