Skip to content

Commit

Permalink
ARM: OMAP: DMA: Don't mark channel active in omap_enable_channel_irq
Browse files Browse the repository at this point in the history
Channel should be marked active only when DMA is really started. Otherwise
just omap_request_dma, omap_dma_link_lch and omap_dma_unlink_lch will cause
incorrect dump_stack().

Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Jarkko Nikula authored and Tony Lindgren committed Jun 5, 2008
1 parent 53c8ba9 commit 66c2355
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/arm/plat-omap/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,8 +501,6 @@ static inline void omap_enable_channel_irq(int lch)

/* Enable some nice interrupts. */
OMAP_DMA_CICR_REG(lch) = dma_chan[lch].enabled_irqs;

dma_chan[lch].flags |= OMAP_DMA_ACTIVE;
}

static void omap_disable_channel_irq(int lch)
Expand Down

0 comments on commit 66c2355

Please sign in to comment.