projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM : Add GPIO Driver and IOMUX definition for S3C2440
[oweals/u-boot.git]
/
drivers
/
mmc
/
arm_pl180_mmci.c
diff --git
a/drivers/mmc/arm_pl180_mmci.c
b/drivers/mmc/arm_pl180_mmci.c
index db2c7ab75ce397a669937caaa8934a9601dc9788..af1380a45504ad14bbca483b4becd06146b31ad5 100644
(file)
--- a/
drivers/mmc/arm_pl180_mmci.c
+++ b/
drivers/mmc/arm_pl180_mmci.c
@@
-52,7
+52,7
@@
static int wait_for_command_end(struct mmc *dev, struct mmc_cmd *cmd)
debug("CMD%d time out\n", cmd->cmdidx);
return TIMEOUT;
} else if ((hoststatus & SDI_STA_CCRCFAIL) &&
debug("CMD%d time out\n", cmd->cmdidx);
return TIMEOUT;
} else if ((hoststatus & SDI_STA_CCRCFAIL) &&
- (cmd->
flags
& MMC_RSP_CRC)) {
+ (cmd->
resp_type
& MMC_RSP_CRC)) {
printf("CMD%d CRC error\n", cmd->cmdidx);
return -EILSEQ;
}
printf("CMD%d CRC error\n", cmd->cmdidx);
return -EILSEQ;
}