mmc: sdhci: move SDMA capability check to sdhci_setup_cfg()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 25 Aug 2016 07:07:37 +0000 (16:07 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 19 Sep 2016 21:46:01 +0000 (06:46 +0900)
commit15bd09959fddd2782484683818bf05fb154237cb
treeea40aa90af58de7d71727c0ad3dc250041183f76
parent3137e645e2f697df88dca08b7631c6363093bcf4
mmc: sdhci: move SDMA capability check to sdhci_setup_cfg()

If CONFIG_BLK is enabled, add_sdhci() is never called.  Move this
quirk handling to sdhci_setup_cfg(), which is now the central place
for hardware capability checks.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mmc/sdhci.c