Skip to content

Commit

Permalink
fix OMAP2 MTD build failure
Browse files Browse the repository at this point in the history
Fix build failure from recent interface change and merge.

Tested on OMAP3430.

Signed-off-by: Daniel J Blueman <daniel.blueman@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Daniel J Blueman authored and Linus Torvalds committed Sep 29, 2010
1 parent 899611e commit f12f662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/nand/omap2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f12f662

Please sign in to comment.