diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2016-12-30 15:30:15 +0900 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2017-01-11 19:40:12 +0900 |
commit | 6f88a3a5d9488bc0aed5a62ca5f2a3cda4deded9 (patch) | |
tree | b81cbceecd44912464bfba30c9fff6106a067d16 /drivers/mmc/sdhci.c | |
parent | 5e96217f04342bfeca7a089eb1cfa726f719a8a0 (diff) | |
download | u-boot-imx-6f88a3a5d9488bc0aed5a62ca5f2a3cda4deded9.zip u-boot-imx-6f88a3a5d9488bc0aed5a62ca5f2a3cda4deded9.tar.gz u-boot-imx-6f88a3a5d9488bc0aed5a62ca5f2a3cda4deded9.tar.bz2 |
mmc: sdhci: remove the SDHCI_QUIRK_NO_CD
This quirk doesn't need anymore.
It's replaced to get_cd callback function.
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'drivers/mmc/sdhci.c')
-rw-r--r-- | drivers/mmc/sdhci.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index 230416a..dadee15 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c @@ -484,10 +484,8 @@ static int sdhci_init(struct mmc *mmc) sdhci_set_power(host, fls(mmc->cfg->voltages) - 1); - if (host->quirks & SDHCI_QUIRK_NO_CD) { - if (host->ops->get_cd) - host->ops->get_cd(host); - } + if (host->ops->get_cd) + host->ops->get_cd(host); /* Enable only interrupts served by the SD controller */ sdhci_writel(host, SDHCI_INT_DATA_MASK | SDHCI_INT_CMD_MASK, |