aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/kona_sdhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/kona_sdhci.c')
-rw-r--r--drivers/mmc/kona_sdhci.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mmc/kona_sdhci.c b/drivers/mmc/kona_sdhci.c
index e730caa2079..c67a262c7ae 100644
--- a/drivers/mmc/kona_sdhci.c
+++ b/drivers/mmc/kona_sdhci.c
@@ -127,11 +127,6 @@ int kona_sdhci_init(int dev_index, u32 min_clk, u32 quirks)
return -EINVAL;
}
- if (quirks & SDHCI_QUIRK_REG32_RW)
- host->version = sdhci_readl(host, SDHCI_HOST_VERSION - 2) >> 16;
- else
- host->version = sdhci_readw(host, SDHCI_HOST_VERSION);
-
add_sdhci(host, max_clk, min_clk);
return ret;
}