]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/mmc/omap.c
ARM: OMAP: Fix DMA channel irq handling for omap24xx
[linux-2.6-omap-h63xx.git] / drivers / mmc / omap.c
index 7c8b6ceb9348455f36fe3d8aa5174ce20ca72b29..933a9006b3122a9c5bef8f5e08d78ce37f2f043b 100644 (file)
@@ -662,7 +662,7 @@ static void mmc_omap_dma_cb(int lch, u16 ch_status, void *data)
                return;
        }
        /* FIXME: We really should do something to _handle_ the errors */
-       if (ch_status & OMAP_DMA_TOUT_IRQ) {
+       if (ch_status & OMAP1_DMA_TOUT_IRQ) {
                dev_err(mmc_dev(host->mmc),"DMA timeout\n");
                return;
        }