aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/pxamci.c
diff options
context:
space:
mode:
authorKarl Beldan <karl.beldan@gmail.com>2008-07-16 18:29:11 +0200
committerPierre Ossman <drzeus@drzeus.cx>2008-07-23 14:18:06 +0200
commit4fe16897c59882420d66f2d503106653d026ed6c (patch)
tree3ed410657d6cbf78b2faa42fd5254be91b050bd3 /drivers/mmc/host/pxamci.c
parentc010b2f76c3032e48097a6eef291d8593d5d79a6 (diff)
downloadkernel_samsung_espresso10-4fe16897c59882420d66f2d503106653d026ed6c.zip
kernel_samsung_espresso10-4fe16897c59882420d66f2d503106653d026ed6c.tar.gz
kernel_samsung_espresso10-4fe16897c59882420d66f2d503106653d026ed6c.tar.bz2
pxamci: trivial fix of DMA alignment register bit clearing
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>
Diffstat (limited to 'drivers/mmc/host/pxamci.c')
-rw-r--r--drivers/mmc/host/pxamci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/pxamci.c b/drivers/mmc/host/pxamci.c
index d39f597..a8e18fe 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;
}