diff options
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/card/queue.c | 2 | ||||
-rw-r--r-- | drivers/mmc/host/sdhci.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/card/queue.c b/drivers/mmc/card/queue.c index 9203a0b221b3..1b9c9b6da5b7 100644 --- a/drivers/mmc/card/queue.c +++ b/drivers/mmc/card/queue.c | |||
@@ -310,7 +310,7 @@ static void copy_sg(struct scatterlist *dst, unsigned int dst_len, | |||
310 | } | 310 | } |
311 | 311 | ||
312 | if (src_size == 0) { | 312 | if (src_size == 0) { |
313 | src_buf = sg_virt(dst); | 313 | src_buf = sg_virt(src); |
314 | src_size = src->length; | 314 | src_size = src->length; |
315 | } | 315 | } |
316 | 316 | ||
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 6b80bf77a4ef..ff59d2e0475b 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c | |||
@@ -1301,7 +1301,7 @@ static int __devinit sdhci_probe_slot(struct pci_dev *pdev, int slot) | |||
1301 | 1301 | ||
1302 | if ((chip->quirks & SDHCI_QUIRK_BROKEN_DMA) && | 1302 | if ((chip->quirks & SDHCI_QUIRK_BROKEN_DMA) && |
1303 | (host->flags & SDHCI_USE_DMA)) { | 1303 | (host->flags & SDHCI_USE_DMA)) { |
1304 | DBG("Disabling DMA as it is marked broken"); | 1304 | DBG("Disabling DMA as it is marked broken\n"); |
1305 | host->flags &= ~SDHCI_USE_DMA; | 1305 | host->flags &= ~SDHCI_USE_DMA; |
1306 | } | 1306 | } |
1307 | 1307 | ||