Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 277076
b: refs/heads/master
c: 3b6e3c7
h: refs/heads/master
v: v3
  • Loading branch information
Ulf Hansson authored and Russell King committed Dec 18, 2011
1 parent f3001d4 commit 9e11136
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b63038d6f4ca5d1849ce01d9fc5bb9cb426dec73
refs/heads/master: 3b6e3c73851a9a4b0e6ed9d378206341dd65e8a5
6 changes: 5 additions & 1 deletion trunk/drivers/mmc/host/mmci.c
Original file line number Diff line number Diff line change
Expand Up @@ -755,8 +755,12 @@ mmci_cmd_irq(struct mmci_host *host, struct mmc_command *cmd,
}

if (!cmd->data || cmd->error) {
if (host->data)
if (host->data) {
/* Terminate the DMA transfer */
if (dma_inprogress(host))
mmci_dma_data_error(host);
mmci_stop_data(host);
}
mmci_request_end(host, cmd->mrq);
} else if (!(cmd->data->flags & MMC_DATA_READ)) {
mmci_start_data(host, cmd->data);
Expand Down

0 comments on commit 9e11136

Please sign in to comment.