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>
This commit is contained in:
parent
c010b2f76c
commit
4fe16897c5
@ -177,7 +177,7 @@ static void pxamci_setup_data(struct pxamci_host *host, struct mmc_data *data)
|
|||||||
if (dalgn)
|
if (dalgn)
|
||||||
DALGN |= (1 << host->dma);
|
DALGN |= (1 << host->dma);
|
||||||
else
|
else
|
||||||
DALGN &= (1 << host->dma);
|
DALGN &= ~(1 << host->dma);
|
||||||
DDADR(host->dma) = host->sg_dma;
|
DDADR(host->dma) = host->sg_dma;
|
||||||
DCSR(host->dma) = DCSR_RUN;
|
DCSR(host->dma) = DCSR_RUN;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user