OMAP4: dma: Correct CPU version check for dma_common_ch_end
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 23 Feb 2012 07:44:41 +0000 (09:44 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 28 Feb 2012 22:36:56 +0000 (14:36 -0800)
commitd82ba9954b6b2c4ac91ec6f6f42be8c5215d0619
tree7263d7d069fa725d8a5f14f9855052eb9af6184e
parent82dfcbfe63500c80335d0cd5f91a35d4545a1fb2
OMAP4: dma: Correct CPU version check for dma_common_ch_end

CCDN is the last common channel register in all OMAP4 versions. Use
cpu_is_omap44xx() instead of the cpu_is_omap4430().
cpu_is_omap4430() returns 0 unconditionally. This causes that the
dma_common_ch_end register variable is not configured correctly on OMAP4, not
even for OMAP4430.
Because of this, registers between CCFN - CCDN will be not cleard in the
omap2_clear_dma function in OMAP4.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/dma.c