mmc: rtsx_pci: use new macro for R1 without CRC
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 19 Sep 2016 20:57:46 +0000 (22:57 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 26 Sep 2016 19:31:32 +0000 (21:31 +0200)
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/rtsx_pci_sdmmc.c

index 396c9b7e4121b063f3248af0e5c239a2592b635f..3ccaa1415f33b2a1b323a13cdfedf7d92cb1f083 100644 (file)
@@ -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;