Selaa lähdekoodia

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>
Karl Beldan 17 vuotta sitten
vanhempi
commit
4fe16897c5
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      drivers/mmc/host/pxamci.c

+ 1 - 1
drivers/mmc/host/pxamci.c

@@ -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;
 }
 }