]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/arm/omap/omap-alsa-dma.c
ARM: OMAP: Remove __REG access in DMA code
[linux-2.6-omap-h63xx.git] / sound / arm / omap / omap-alsa-dma.c
index 3f9ff68c4c5f5a6c44a41d0c20b69f185d1c15a3..d2639332c2395739e94f4321ec7ef55b62ee08db 100644 (file)
 
 #define DCCR_FS              (1 << 5)
 #define DCCR_PRIO            (1 << 6)
-#define DCCR_EN              (1 << 7)
 #define DCCR_AI              (1 << 8)
 #define DCCR_REPEAT          (1 << 9)
 /* if 0 the channel works in 3.1 compatible mode */
@@ -420,7 +419,7 @@ static void sound_dma_irq_handler(int sound_curr_lch, u16 ch_status,
                sound_curr_lch, ch_status, dma_status, data);
 
        if (dma_status & (DCSR_ERROR)) {
-               OMAP_DMA_CCR_REG(sound_curr_lch) &= ~DCCR_EN;
+               omap_stop_dma(sound_curr_lch);
                ERR("DCSR_ERROR!\n");
                FN_OUT(-1);
                return;