public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* RE: [PATCH] ARM: OMAP: DMA: fix CLINK mask, clear spurious interrupt
       [not found] <1204926553-6228-1-git-send-email-khilman@mvista.com>
@ 2008-03-09  7:24 ` Gadiyar, Anand
  2008-03-11 15:21   ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Gadiyar, Anand @ 2008-03-09  7:24 UTC (permalink / raw)
  To: Kevin Hilman, linux-omap

Ack. Meant to send in this fix this weekend. 

> -----Original Message-----
> From: linux-omap-owner@vger.kernel.org 
> [mailto:linux-omap-owner@vger.kernel.org] On Behalf Of Kevin Hilman
> Sent: Saturday, March 08, 2008 3:19 AM
> To: linux-omap@vger.kernel.org
> Cc: Kevin Hilman
> Subject: [PATCH] ARM: OMAP: DMA: fix CLINK mask, clear 
> spurious interrupt
> 
> Some bugfixes from the TI CDP kernel.
> 
> Signed-off-by: Kevin Hilman <khilman@mvista.com>
> ---
>  arch/arm/plat-omap/dma.c |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c
> index 3e94683..008b5dd 100644
> --- a/arch/arm/plat-omap/dma.c
> +++ b/arch/arm/plat-omap/dma.c
> @@ -1020,12 +1020,12 @@ static void create_dma_lch_chain(int 
> lch_head, int lch_queue)
>  	}
>  
>  	w = OMAP_DMA_CLNK_CTRL_REG(lch_head);
> -	w &= ~(0x0f);
> +	w &= ~(0x1f);
>  	w |= lch_queue;
>  	OMAP_DMA_CLNK_CTRL_REG(lch_head) = w;
>  
>  	w = OMAP_DMA_CLNK_CTRL_REG(lch_queue);
> -	w &= ~(0x0f);
> +	w &= ~(0x1f);
>  	w |= (dma_chan[lch_queue].next_linked_ch);
>  	OMAP_DMA_CLNK_CTRL_REG(lch_queue) = w;
>  }
> @@ -1663,6 +1663,7 @@ static int omap2_dma_handle_ch(int ch)
>  	if (!status) {
>  		if (printk_ratelimit())
>  			printk(KERN_WARNING "Spurious DMA IRQ 
> for lch %d\n", ch);
> +		omap_writel(1 << ch, OMAP_DMA4_IRQSTATUS_L0);
>  		return 0;
>  	}
>  	if (unlikely(dma_chan[ch].dev_id == -1)) {
> -- 
> 1.5.4.1.99.gf1785
> 
> --
> 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
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: OMAP: DMA: fix CLINK mask, clear spurious interrupt
  2008-03-09  7:24 ` [PATCH] ARM: OMAP: DMA: fix CLINK mask, clear spurious interrupt Gadiyar, Anand
@ 2008-03-11 15:21   ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2008-03-11 15:21 UTC (permalink / raw)
  To: Gadiyar, Anand; +Cc: Kevin Hilman, linux-omap

* Gadiyar, Anand <gadiyar@ti.com> [080309 09:30]:
> Ack. Meant to send in this fix this weekend. 
> 
> > -----Original Message-----
> > From: linux-omap-owner@vger.kernel.org 
> > [mailto:linux-omap-owner@vger.kernel.org] On Behalf Of Kevin Hilman
> > Sent: Saturday, March 08, 2008 3:19 AM
> > To: linux-omap@vger.kernel.org
> > Cc: Kevin Hilman
> > Subject: [PATCH] ARM: OMAP: DMA: fix CLINK mask, clear 
> > spurious interrupt
> > 
> > Some bugfixes from the TI CDP kernel.

Pushing today.

Tony

> > Signed-off-by: Kevin Hilman <khilman@mvista.com>
> > ---
> >  arch/arm/plat-omap/dma.c |    5 +++--
> >  1 files changed, 3 insertions(+), 2 deletions(-)
> > 
> > diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c
> > index 3e94683..008b5dd 100644
> > --- a/arch/arm/plat-omap/dma.c
> > +++ b/arch/arm/plat-omap/dma.c
> > @@ -1020,12 +1020,12 @@ static void create_dma_lch_chain(int 
> > lch_head, int lch_queue)
> >  	}
> >  
> >  	w = OMAP_DMA_CLNK_CTRL_REG(lch_head);
> > -	w &= ~(0x0f);
> > +	w &= ~(0x1f);
> >  	w |= lch_queue;
> >  	OMAP_DMA_CLNK_CTRL_REG(lch_head) = w;
> >  
> >  	w = OMAP_DMA_CLNK_CTRL_REG(lch_queue);
> > -	w &= ~(0x0f);
> > +	w &= ~(0x1f);
> >  	w |= (dma_chan[lch_queue].next_linked_ch);
> >  	OMAP_DMA_CLNK_CTRL_REG(lch_queue) = w;
> >  }
> > @@ -1663,6 +1663,7 @@ static int omap2_dma_handle_ch(int ch)
> >  	if (!status) {
> >  		if (printk_ratelimit())
> >  			printk(KERN_WARNING "Spurious DMA IRQ 
> > for lch %d\n", ch);
> > +		omap_writel(1 << ch, OMAP_DMA4_IRQSTATUS_L0);
> >  		return 0;
> >  	}
> >  	if (unlikely(dma_chan[ch].dev_id == -1)) {
> > -- 
> > 1.5.4.1.99.gf1785
> > 
> > --
> > 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
> > 
> --
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-11 15:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1204926553-6228-1-git-send-email-khilman@mvista.com>
2008-03-09  7:24 ` [PATCH] ARM: OMAP: DMA: fix CLINK mask, clear spurious interrupt Gadiyar, Anand
2008-03-11 15:21   ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox