Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45335
b: refs/heads/master
c: e47c222
h: refs/heads/master
i:
  45333: 1bb81fe
  45331: d5be550
  45327: cc31845
v: v3
  • Loading branch information
Russell King authored and Russell King committed Jan 8, 2007
1 parent d698d63 commit 4e0c139
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: db6ccbb61c1291c8aaefadcc8304444f27eeb88d
refs/heads/master: e47c222b22cd53c317a5573e1dc5f9e0cbd46380
4 changes: 4 additions & 0 deletions trunk/drivers/mmc/mmci.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ mmci_request_end(struct mmci_host *host, struct mmc_request *mrq)
{
writel(0, host->base + MMCICOMMAND);

BUG_ON(host->data);

host->mrq = NULL;
host->cmd = NULL;

Expand Down Expand Up @@ -198,6 +200,8 @@ mmci_cmd_irq(struct mmci_host *host, struct mmc_command *cmd,
}

if (!cmd->data || cmd->error != MMC_ERR_NONE) {
if (host->data)
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 4e0c139

Please sign in to comment.