]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit66058b553363f4d8b04b0ddacdc9ec6aeca429ff
tree09d82807025be0485a457358146861a2daf8163f
parent93efb6089dbfd5a1dbc0a32587032e3c89c274f6
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