[PATCH v2] omap: dma: Clear status registers on enable/disable irq.

Jarkko Nikula jarkko.nikula at bitmer.com
Fri Jun 1 03:36:11 EDT 2012


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 at 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 at bitmer.com>



More information about the linux-arm-kernel mailing list