linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: jarkko.nikula@bitmer.com (Jarkko Nikula)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] omap: dma: Clear status registers on enable/disable irq.
Date: Fri, 01 Jun 2012 10:36:11 +0300	[thread overview]
Message-ID: <4FC870EB.4060300@bitmer.com> (raw)
In-Reply-To: <1337117708-27215-1-git-send-email-oleg.matcovschi@ti.com>

On 05/16/2012 12:35 AM, Oleg Matcovschi wrote:
> Use omap_disable_channel_irq() function instead of directly accessing CICR.
> The omap_disable_chanel_irq() function clears pending interrupts
> and disables interrupt on channel.
> Functions omap2_enable_irq_lch()/omap2_disable_irq_lch() clear interrupt
> status register.
> 
> 
> Signed-off-by: Oleg Matcovschi <oleg.matcovschi@ti.com>
> ---
> v1 initial revision
> v2 Review by Tony Lindgren
> ---
>  arch/arm/plat-omap/dma.c |   59 +++++++++++++++++++++------------------------
>  1 files changed, 28 insertions(+), 31 deletions(-)
> 
Tested on BeagleBoard by using mmc and audio

Tested-by: Jarkko Nikula <jarkko.nikula@bitmer.com>

  reply	other threads:[~2012-06-01  7:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-15 21:35 [PATCH v2] omap: dma: Clear status registers on enable/disable irq Oleg Matcovschi
2012-06-01  7:36 ` Jarkko Nikula [this message]
2012-06-04  6:13 ` Tony Lindgren
2012-06-05 18:28   ` Matcovschi, Oleg
2012-06-04 21:53 ` Janusz Krzysztofik
2012-06-05  6:39   ` 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=4FC870EB.4060300@bitmer.com \
    --to=jarkko.nikula@bitmer.com \
    --cc=linux-arm-kernel@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;
as well as URLs for NNTP newsgroup(s).