Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102196
b: refs/heads/master
c: d643b5f
h: refs/heads/master
v: v3
  • Loading branch information
Roman Moracik authored and Pierre Ossman committed Jul 15, 2008
1 parent 28c1930 commit ba55e59
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: bdbc9c3a8f7a7956611c970e262693faa95081a5
refs/heads/master: d643b5f7e0793ef7828a35a5ea049d675ad2ad8c
7 changes: 4 additions & 3 deletions trunk/drivers/mmc/host/s3cmci.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,8 @@ static void pio_tasklet(unsigned long data)
struct s3cmci_host *host = (struct s3cmci_host *) data;


disable_irq(host->irq);

if (host->pio_active == XFER_WRITE)
do_pio_write(host);

Expand All @@ -352,9 +354,9 @@ static void pio_tasklet(unsigned long data)
host->mrq->data->error = -EINVAL;
}

disable_irq(host->irq);
finalize_request(host);
}
} else
enable_irq(host->irq);
}

/*
Expand Down Expand Up @@ -630,7 +632,6 @@ void s3cmci_dma_done_callback(struct s3c2410_dma_chan *dma_ch, void *buf_id,
spin_unlock_irqrestore(&host->complete_lock, iflags);
return;


fail_request:
host->mrq->data->error = -EINVAL;
host->complete_what = COMPLETION_FINALIZE;
Expand Down

0 comments on commit ba55e59

Please sign in to comment.