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-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4fe16897c59882420d66f2d503106653d026ed6c;p=openwrt%2Fstaging%2Fblogic.git 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 d39f59738866..a8e18fe53077 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; }