pxamci: trivial fix of DMA alignment register bit clearing
authorKarl Beldan <karl.beldan@gmail.com>
Wed, 16 Jul 2008 16:29:11 +0000 (18:29 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Wed, 23 Jul 2008 12:18:06 +0000 (14:18 +0200)
Signed-off-by: Karl Beldan <karl.beldan@gmail.com>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/pxamci.c

index d39f59738866c02e8712b9d3eb6cc686de808382..a8e18fe53077fee9023442745332706a9929888f 100644 (file)
@@ -177,7 +177,7 @@ static void pxamci_setup_data(struct pxamci_host *host, struct mmc_data *data)
        if (dalgn)
                DALGN |= (1 << host->dma);
        else
-               DALGN &= (1 << host->dma);
+               DALGN &= ~(1 << host->dma);
        DDADR(host->dma) = host->sg_dma;
        DCSR(host->dma) = DCSR_RUN;
 }