Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102193
b: refs/heads/master
c: 679f0f8
h: refs/heads/master
i:
  102191: 62cbd1b
v: v3
  • Loading branch information
Harald Welte authored and Pierre Ossman committed Jul 15, 2008
1 parent 46e0518 commit 7c890d7
Show file tree
Hide file tree
Showing 2 changed files with 14 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: be518018c6b9224c02284fb243207ef741c31ec6
refs/heads/master: 679f0f8abd7187baaff40a47fe4733ae4c24cc9a
16 changes: 13 additions & 3 deletions trunk/drivers/mmc/host/s3cmci.c
Original file line number Diff line number Diff line change
Expand Up @@ -461,9 +461,19 @@ static irqreturn_t s3cmci_irq(int irq, void *dev_id)

if (mci_csta & S3C2410_SDICMDSTAT_CRCFAIL) {
if (cmd->flags & MMC_RSP_CRC) {
cmd->error = -EILSEQ;
host->status = "error: bad command crc";
goto fail_transfer;
if (host->mrq->cmd->flags & MMC_RSP_136) {
dbg(host, dbg_irq,
"fixup: ignore CRC fail with long rsp\n");
} else {
/* note, we used to fail the transfer
* here, but it seems that this is just
* the hardware getting it wrong.
*
* cmd->error = -EILSEQ;
* host->status = "error: bad command crc";
* goto fail_transfer;
*/
}
}

mci_cclear |= S3C2410_SDICMDSTAT_CRCFAIL;
Expand Down

0 comments on commit 7c890d7

Please sign in to comment.