linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Cliff Brake <cbrake@bec-systems.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH] nand/omap2: fix compile error with DMA Config
Date: Wed, 15 Sep 2010 10:37:11 -0700	[thread overview]
Message-ID: <20100915173710.GA4174@atomide.com> (raw)
In-Reply-To: <1284153862-26332-1-git-send-email-cbrake@bec-systems.com>

* 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

      reply	other threads:[~2010-09-15 17:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-10 21:24 [PATCH] nand/omap2: fix compile error with DMA Config Cliff Brake
2010-09-15 17:37 ` Tony Lindgren [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100915173710.GA4174@atomide.com \
    --to=tony@atomide.com \
    --cc=cbrake@bec-systems.com \
    --cc=linux-omap@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).