Message ID | 1306955427-18940-4-git-send-email-robherring2@gmail.com |
---|---|
State | Superseded |
Headers | show |
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index f184821..b116b8c 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c @@ -204,6 +204,10 @@ static int mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, writel(mask, &host->reg->norintsts); break; } + if (mask & (1 << 15)) { + writel(mask, &host->reg->norintsts); + return -1; + } } if (i == retry) {