commit | 38784280ee313deb7edec6ad6a96c6c4027f3c6c | [log] [tgz] |
---|---|---|
author | Charles M. Hannum <root@ihack.net> | Sun Apr 13 00:24:38 2014 +0200 |
committer | Charles M. Hannum <root@ihack.net> | Fri May 09 19:19:11 2014 +0200 |
tree | 6efef56d81c4d12d2097cf5f9d1d26be54ccadce | |
parent | 1dbe980bbb428b4b971679e37b37eb9eabb5d387 [diff] |
Actually, that was easy: use MMC_RSP_CRC to determine whether to look for a valid CRC.
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index a4bda8f..9e51b87 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c
@@ -919,7 +919,7 @@ if (host->use_dma) cmdreg |= DMA_EN; - if (cmd->opcode != 41) + if (cmd->flags & MMC_RSP_CRC) cmdreg |= CCCE; host->req_in_progress = 1;