public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Vikram Narayanan <vikram186@gmail.com>
To: Bastian Hecht <hechtb@googlemail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: [PATCH 1/2] mtd: sh_flctl: Setup and release DMA channels
Date: Sun, 23 Sep 2012 20:01:16 +0530	[thread overview]
Message-ID: <505F1D34.3040407@gmail.com> (raw)
In-Reply-To: <1348401683-15698-1-git-send-email-hechtb@gmail.com>

On 9/23/2012 5:31 PM, Bastian Hecht wrote:
> The code probes if DMA channels can get allocated and tears them down at
> removal/failure if needed.
>
> Based on Guennadi Liakhovetski's code from the sh_mmcif driver.
>
> Signed-off-by: Bastian Hecht<hechtb@gmail.com>
> ---
> Based on l2-mtd with reverted commit e26c113b4130aefa1d8446602bb5b05cfd646bfe.
>
>   drivers/mtd/nand/sh_flctl.c  |   74 ++++++++++++++++++++++++++++++++++++++++++
>   include/linux/mtd/sh_flctl.h |   10 ++++++
>   2 files changed, 84 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/mtd/nand/sh_flctl.c b/drivers/mtd/nand/sh_flctl.c
> index 4fbfe96..2cf6871 100644
> --- a/drivers/mtd/nand/sh_flctl.c
> +++ b/drivers/mtd/nand/sh_flctl.c
> @@ -856,6 +856,76 @@ static irqreturn_t flctl_handle_flste(int irq, void *dev_id)
>   	return IRQ_HANDLED;
>   }
>
> +void flctl_setup_dma(struct sh_flctl *flctl)

static?

~Vikram

  parent reply	other threads:[~2012-09-23 14:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-23 12:01 [PATCH 1/2] mtd: sh_flctl: Setup and release DMA channels Bastian Hecht
2012-09-23 12:01 ` [PATCH 2/2] mtd: sh_flctl: Use DMA for data fifo FLTDFIFO when available Bastian Hecht
2012-09-23 14:32   ` Vikram Narayanan
2012-09-24  9:07     ` Bastian Hecht
2012-09-23 14:31 ` Vikram Narayanan [this message]
2012-09-24  9:05   ` [PATCH 1/2] mtd: sh_flctl: Setup and release DMA channels Bastian Hecht

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=505F1D34.3040407@gmail.com \
    --to=vikram186@gmail.com \
    --cc=hechtb@googlemail.com \
    --cc=linux-mtd@lists.infradead.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