summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/sdhci-uhs2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host/sdhci-uhs2.c')
-rw-r--r--drivers/mmc/host/sdhci-uhs2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-uhs2.c b/drivers/mmc/host/sdhci-uhs2.c
index c488c6d56015..b0e4ab852a94 100644
--- a/drivers/mmc/host/sdhci-uhs2.c
+++ b/drivers/mmc/host/sdhci-uhs2.c
@@ -413,7 +413,7 @@ static int sdhci_uhs2_do_detect_init(struct mmc_host *mmc)
DBG("Begin do uhs2 detect init.\n");
- if (host->ops && host->ops->uhs2_pre_detect_init)
+ if (host->ops->uhs2_pre_detect_init)
host->ops->uhs2_pre_detect_init(host);
if (sdhci_uhs2_interface_detect(host)) {