summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2016-09-19 22:57:46 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2016-09-26 21:31:32 +0200
commit8c8d0ecbd87fff5cfca0a9a72fa388c3f61dab8f (patch)
treec8b913e2cb30b67757ee9549d0839edcc2385210 /drivers/mmc
parent51b50c961676428cd356d6fa494a2e9f53dc77bf (diff)
downloadlinux-8c8d0ecbd87fff5cfca0a9a72fa388c3f61dab8f.tar.gz
linux-8c8d0ecbd87fff5cfca0a9a72fa388c3f61dab8f.tar.bz2
linux-8c8d0ecbd87fff5cfca0a9a72fa388c3f61dab8f.zip
mmc: rtsx_pci: use new macro for R1 without CRC
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/rtsx_pci_sdmmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/rtsx_pci_sdmmc.c b/drivers/mmc/host/rtsx_pci_sdmmc.c
index 396c9b7e4121..3ccaa1415f33 100644
--- a/drivers/mmc/host/rtsx_pci_sdmmc.c
+++ b/drivers/mmc/host/rtsx_pci_sdmmc.c
@@ -126,7 +126,7 @@ static int sd_response_type(struct mmc_command *cmd)
return SD_RSP_TYPE_R0;
case MMC_RSP_R1:
return SD_RSP_TYPE_R1;
- case MMC_RSP_R1 & ~MMC_RSP_CRC:
+ case MMC_RSP_R1_NO_CRC:
return SD_RSP_TYPE_R1 | SD_NO_CHECK_CRC7;
case MMC_RSP_R1B:
return SD_RSP_TYPE_R1b;