linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nand/omap2: fix compile error with DMA Config
@ 2010-09-10 21:24 Cliff Brake
  2010-09-15 17:37 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Cliff Brake @ 2010-09-10 21:24 UTC (permalink / raw)
  To: linux-omap; +Cc: Cliff Brake

With CONFIG_MTD_NAND_OMAP_PREFETCH_DMA, there is a compile
error that this patch fixes.

Signed-off-by: Cliff Brake <cbrake@bec-systems.com>
---
 drivers/mtd/nand/omap2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c
index 133d515..513e0a7 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;
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] nand/omap2: fix compile error with DMA Config
  2010-09-10 21:24 [PATCH] nand/omap2: fix compile error with DMA Config Cliff Brake
@ 2010-09-15 17:37 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2010-09-15 17:37 UTC (permalink / raw)
  To: Cliff Brake; +Cc: linux-omap

* Cliff Brake <cbrake@bec-systems.com> [100910 14:46]:
> 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
 
> Signed-off-by: Cliff Brake <cbrake@bec-systems.com>
> ---
>  drivers/mtd/nand/omap2.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c
> index 133d515..513e0a7 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;
> -- 
> 1.7.0.4
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-15 17:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-10 21:24 [PATCH] nand/omap2: fix compile error with DMA Config Cliff Brake
2010-09-15 17:37 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).