From: Mika Westerberg Date: Fri, 14 May 2010 19:05:25 +0000 (-0700) Subject: OMAP2/3/4: DMA: disable channel interrupts in omap_init_dma() X-Git-Tag: v2.6.35-rc1~456^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ada8d4a5e2ed9de8a5a58788c4b6a4c8103e0f8d;p=pandora-kernel.git OMAP2/3/4: DMA: disable channel interrupts in omap_init_dma() 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 Acked-by: Kevin Hilman Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed