public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: "Gadiyar, Anand" <gadiyar@ti.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH] ARM: OMAP: Fix chain_a_transfer return value
Date: Tue, 11 Mar 2008 17:21:34 +0200	[thread overview]
Message-ID: <20080311152133.GK7524@atomide.com> (raw)
In-Reply-To: <010C7BAE6783F34D9AC336EE5A01A088057E3F70@dbde01.ent.ti.com>

* Gadiyar, Anand <gadiyar@ti.com> [080311 08:41]:
> From: Anand Gadiyar <gadiyar@ti.com>
> 
> This patch changes the return value of omap_dma_chain_a_transfer
> to 0 on success instead of the flag 'start_dma', which wasn't really useful
> for anything.
> 
> Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
> ---
> This patch seems to have been accidentally reversed by commit
> 6d6baabf174b0543db0873282ec233b5ecc6c083 (ARM: OMAP: Fix DMA comments from RMK)
> 
>  arch/arm/plat-omap/dma.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> Index: linux-omap-2.6/arch/arm/plat-omap/dma.c
> ===================================================================
> --- linux-omap-2.6.orig/arch/arm/plat-omap/dma.c	2008-02-19 11:15:51.000000000 +0530
> +++ linux-omap-2.6/arch/arm/plat-omap/dma.c	2008-03-11 12:04:07.142786661 +0530
> @@ -1248,7 +1248,7 @@ EXPORT_SYMBOL(omap_dma_chain_status);
>   * @param frame_count
>   * @param callbk_data - channel callback parameter data.
>   *
> - * @return  - Success : start_dma status
> + * @return  - Success : 0
>   * 	      Failure: -EINVAL/-EBUSY
>   */
>  int omap_dma_chain_a_transfer(int chain_id, int src_start, int dest_start,
> @@ -1367,7 +1367,7 @@ int omap_dma_chain_a_transfer(int chain_
>  			dma_chan[lch].flags |= OMAP_DMA_ACTIVE;
>  		}
>  	}
> -	return start_dma;
> +	return 0;
>  }
>  EXPORT_SYMBOL(omap_dma_chain_a_transfer);

Pushing today.

Tony

  reply	other threads:[~2008-03-11 15:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-11  6:40 [PATCH] ARM: OMAP: Fix chain_a_transfer return value Gadiyar, Anand
2008-03-11 15:21 ` Tony Lindgren [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-12-14 12:50 Gadiyar, Anand
2007-12-16  0:28 ` Tony Lindgren

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=20080311152133.GK7524@atomide.com \
    --to=tony@atomide.com \
    --cc=gadiyar@ti.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