nand/omap2: fix compile error with DMA Config
Subsystems (2)
PATCH 1/1 nand/omap2: fix compile error with DMA Config
With CONFIG_MTD_NAND_OMAP_PREFETCH_DMA, there is a compile error that this patch fixes.
Signed-off-by Cliff Brake <[email protected]>
--- drivers/mtd/nand/omap2.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mtd/nand/omap2.c +1 -1
@@ -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 ;
Signature · 1 line
1.7.0.4
Quoted 2 lines · Cliff Brake
With
CONFIG_MTD_NAND_OMAP_PREFETCH_DMA, there is a compile error that this patch fixes.
This should go via linux-mtd, can you please repost?
Regards,
Tony
Quoted 25 lines
Signed-off-by Cliff Brake <[email protected]>--- drivers/mtd/nand/omap2.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/mtd/nand/omap2.c +1
-1@@ -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 ;Signature · 6 lines
1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html