mmc: sdhci: Add quirk to indicate MMC_RSP_136 has CRC
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 21 Aug 2017 07:41:29 +0000 (13:11 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 13:03:43 +0000 (15:03 +0200)
commit1284c248d145926760eab7244252f695f7a7a46a
tree09d82807025be0485a457358146861a2daf8163f
parent4a5fc11945af753f3e565db61f80976bb1fcddc7
mmc: sdhci: Add quirk to indicate MMC_RSP_136 has CRC

TI's implementation of sdhci controller used in DRA7 SoC's has
CRC in responses with length 136 bits. Add quirk to indicate
the controller has CRC in MMC_RSP_136. If this quirk is
set sdhci library shouldn't shift the response present in
SDHCI_RESPONSE register.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h