Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113200
b: refs/heads/master
c: ca55f46
h: refs/heads/master
v: v3
  • Loading branch information
Haavard Skinnemoen committed Oct 5, 2008
1 parent 1ad5481 commit 74e07d3
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 65e8b083fc8ec303499baa1924ae032d46d29990
refs/heads/master: ca55f46e13dd07b029b0a3d64637f983a6627b23
4 changes: 3 additions & 1 deletion trunk/drivers/mmc/host/atmel-mci.c
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,7 @@ static void atmci_start_request(struct atmel_mci *host,

host->pending_events = 0;
host->completed_events = 0;
host->data_status = 0;

if (host->need_reset) {
mci_writel(host, CR, MCI_CR_SWRST);
Expand Down Expand Up @@ -1408,7 +1409,8 @@ static irqreturn_t atmci_interrupt(int irq, void *dev_id)
if (pending & MCI_NOTBUSY) {
mci_writel(host, IDR,
ATMCI_DATA_ERROR_FLAGS | MCI_NOTBUSY);
host->data_status = status;
if (!host->data_status)
host->data_status = status;
smp_wmb();
atmci_set_pending(host, EVENT_DATA_COMPLETE);
tasklet_schedule(&host->tasklet);
Expand Down

0 comments on commit 74e07d3

Please sign in to comment.