rockchip: sdhci: Fix sdhci mmc driver probe abort
authorKever Yang <kever.yang@rock-chips.com>
Fri, 19 Jul 2019 10:01:11 +0000 (18:01 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 20 Jul 2019 15:59:44 +0000 (23:59 +0800)
commit4dcdc5c159f595e27cbaae55569d514bb692d739
treeea5a090ad89ddc6f654626b2dff6f7c813aaf341
parent8b1ceb0ac1aa1746c6751d698ce7a012a236fa65
rockchip: sdhci: Fix sdhci mmc driver probe abort

This patch fix mmc driver abort caused by below patch:
3d296365e4 mmc: sdhci: Add support for sdhci-caps-mask

After the patch sdhci_setup_cfg() access to host->mmc->dev,
so we have to do init before make the call to the function()

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
drivers/mmc/rockchip_sdhci.c