upgrade iop32x to 2.6.30
[openwrt.git] / target / linux / coldfire / patches / 086-m547x_8x_dma_dipr.patch
1 From 6cf498f4cf1930950d31aff5669bdba97d12364c Mon Sep 17 00:00:00 2001
2 From: Kurt Mahan <kmahan@freescale.com>
3 Date: Thu, 17 Jul 2008 15:02:23 -0600
4 Subject: [PATCH] Properly clear bits in DIPR.
5
6 Bugzilla 1351.
7
8 LTIBName: m547x-8x-dma-dipr
9 Signed-off-by: Kurt Mahan <kmahan@freescale.com>
10 ---
11 arch/m68k/coldfire/m547x_8x-dma.c | 2 +-
12 1 files changed, 1 insertions(+), 1 deletions(-)
13
14 --- a/arch/m68k/coldfire/m547x_8x-dma.c
15 +++ b/arch/m68k/coldfire/m547x_8x-dma.c
16 @@ -455,7 +455,7 @@ irqreturn_t dma_interrupt_handler(int ir
17 * pending interrupts with those that aren't masked.
18 */
19 interrupts = MCF_DMA_DIPR;
20 - MCF_DMA_DIPR |= interrupts;
21 + MCF_DMA_DIPR = interrupts;
22
23 for (i = 0; i < 16; ++i, interrupts >>= 1) {
24 if (interrupts & 0x1)
This page took 0.041678 seconds and 5 git commands to generate.