commit | 2e01fcf17c221cba2b54d0f238a39f12b0ef361a | [log] [tgz] |
---|---|---|
author | Patrice Chotard <patrice.chotard@st.com> | Wed Jul 24 09:51:02 2019 +0200 |
committer | Patrice Chotard <patrice.chotard@st.com> | Tue Aug 27 09:36:56 2019 +0200 |
tree | 4463066c46a5ac8c3278ddb771af5b3dac901c32 | |
parent | 23441fbf2bc8c3c00355be0340137bda327a8ff4 [diff] |
mmc: sti_sdhci: Fix sdhci_setup_cfg() call. host->mmc, host->mmc->dev and host->mmc->priv must be set before calling sdhci_setup_cfg() to avoid hang during mmc initialization. Thanks to commit 3d296365e4e8 ("mmc: sdhci: Add support for sdhci-caps-mask") which put this issue into evidence. Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>