X-Git-Url: http://bbs.cooldavid.org/git/?a=blobdiff_plain;f=drivers%2Fmtd%2Fnand%2Fomap2.c;h=cd41c58b5bbd50f8ed905a1a6da71dedc5cfca7e;hb=67577927e8d7a1f4b09b4992df640eadc6aacb36;hp=439e80d78edd5ec12e27052dfa86eb2b33459296;hpb=6fe4c590313133ebd5dadb769031489ff178ece1;p=net-next-2.6.git diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c index 439e80d78ed..cd41c58b5bb 100644 --- a/drivers/mtd/nand/omap2.c +++ b/drivers/mtd/nand/omap2.c @@ -413,7 +413,7 @@ static inline int omap_nand_dma_transfer(struct mtd_info *mtd, void *addr, prefetch_status = gpmc_read_status(GPMC_PREFETCH_COUNT); } while (prefetch_status); /* disable and stop the PFPW engine */ - gpmc_prefetch_reset(); + gpmc_prefetch_reset(info->gpmc_cs); dma_unmap_single(&info->pdev->dev, dma_addr, len, dir); return 0;