]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Aug 2008 19:42:57 +0000 (12:42 -0700)
commit 4fe16897c59882420d66f2d503106653d026ed6c upstream

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/mmc/host/pxamci.c

index d89475d36988228c09e60b54034c288bd81368e6..5c35e637512923afce9620014e809aef493e8f19 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;
 }