aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-esdhc-imx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host/sdhci-esdhc-imx.c')
-rw-r--r--drivers/mmc/host/sdhci-esdhc-imx.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c
index b1d74fa33c5f..812c5772d900 100644
--- a/drivers/mmc/host/sdhci-esdhc-imx.c
+++ b/drivers/mmc/host/sdhci-esdhc-imx.c
@@ -876,6 +876,14 @@ static int esdhc_set_uhs_signaling(struct sdhci_host *host, unsigned int uhs)
876 return esdhc_change_pinstate(host, uhs); 876 return esdhc_change_pinstate(host, uhs);
877} 877}
878 878
879static void esdhc_reset(struct sdhci_host *host, u8 mask)
880{
881 sdhci_reset(host, mask);
882
883 sdhci_writel(host, host->ier, SDHCI_INT_ENABLE);
884 sdhci_writel(host, host->ier, SDHCI_SIGNAL_ENABLE);
885}
886
879static struct sdhci_ops sdhci_esdhc_ops = { 887static struct sdhci_ops sdhci_esdhc_ops = {
880 .read_l = esdhc_readl_le, 888 .read_l = esdhc_readl_le,
881 .read_w = esdhc_readw_le, 889 .read_w = esdhc_readw_le,
@@ -888,7 +896,7 @@ static struct sdhci_ops sdhci_esdhc_ops = {
888 .get_ro = esdhc_pltfm_get_ro, 896 .get_ro = esdhc_pltfm_get_ro,
889 .set_bus_width = esdhc_pltfm_set_bus_width, 897 .set_bus_width = esdhc_pltfm_set_bus_width,
890 .set_uhs_signaling = esdhc_set_uhs_signaling, 898 .set_uhs_signaling = esdhc_set_uhs_signaling,
891 .reset = sdhci_reset, 899 .reset = esdhc_reset,
892}; 900};
893 901
894static const struct sdhci_pltfm_data sdhci_esdhc_imx_pdata = { 902static const struct sdhci_pltfm_data sdhci_esdhc_imx_pdata = {