summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/arm_pl180_mmci.c
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2012-09-06 15:23:13 -0500
committerAndy Fleming <afleming@freescale.com>2012-09-06 15:23:13 -0500
commit95b01c47ed97a7ca8b59308e35fb8c21e8d996a5 (patch)
treecca97ffca6ce8dfeeba0aa8e431c8a041d826366 /drivers/mmc/arm_pl180_mmci.c
parentb09ed6e4fe6065851751e7fc381ff40c23fb09f1 (diff)
downloadtalos-obmc-uboot-95b01c47ed97a7ca8b59308e35fb8c21e8d996a5.tar.gz
talos-obmc-uboot-95b01c47ed97a7ca8b59308e35fb8c21e8d996a5.zip
mmc: Remove incorrect cmd->flags usage
There were a couple of drivers that were actually using the flags field of the cmd structure, despite the fact that no one ever *set* that field. When we removed the field, those drivers failed to compile. Replaced the references with the correct usage of resp_type. Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'drivers/mmc/arm_pl180_mmci.c')
-rw-r--r--drivers/mmc/arm_pl180_mmci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/arm_pl180_mmci.c b/drivers/mmc/arm_pl180_mmci.c
index db2c7ab75c..af1380a455 100644
--- 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) &&
- (cmd->flags & MMC_RSP_CRC)) {
+ (cmd->resp_type & MMC_RSP_CRC)) {
printf("CMD%d CRC error\n", cmd->cmdidx);
return -EILSEQ;
}
OpenPOWER on IntegriCloud