From: Karl Beldan Date: Wed, 16 Jul 2008 16:29:11 +0000 (+0200) Subject: pxamci: trivial fix of DMA alignment register bit clearing X-Git-Tag: v2.6.27-rc1~851^2~12 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fe16897c59882420d66f2d503106653d026ed6c;p=linux-2.6 pxamci: trivial fix of DMA alignment register bit clearing Signed-off-by: Karl Beldan Acked-by: Eric Miao Signed-off-by: Pierre Ossman --- diff --git a/drivers/mmc/host/pxamci.c b/drivers/mmc/host/pxamci.c index d39f597388..a8e18fe530 100644 --- a/drivers/mmc/host/pxamci.c +++ b/drivers/mmc/host/pxamci.c @@ -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; }