OMAP2/3/4: DMA: disable channel interrupts in omap_init_dma()
authorMika Westerberg <ext-mika.1.westerberg@nokia.com>
Fri, 14 May 2010 19:05:25 +0000 (12:05 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 20 May 2010 18:16:39 +0000 (11:16 -0700)
If we are softbooting another kernel using kexec, DMA controller state is not
known when we are performing omap_init_dma(). It is possible that some DMA
channels are already active. For example after kexec we get:

<4>IRQ 0020 for non-allocated DMAchannel 5
<4>IRQ 0020 for non-allocated DMAchannel 5
<4>IRQ 0020 for non-allocated DMAchannel 5
<4>IRQ 0020 for non-allocated DMAchannel 5
<4>IRQ 0020 for non-allocated DMAchannel 5

To prevent any weird things happening, we disable all channel interrupts during
init.

Signed-off-by: Mika Westerberg <ext-mika.1.westerberg@nokia.com>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found