aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Hillenbrand <codeworkx@cyanogenmod.org>2013-08-10 20:33:42 +0200
committerDaniel Hillenbrand <codeworkx@cyanogenmod.org>2013-08-10 20:33:42 +0200
commit7625c997f40f82b0aba169da7916ebf0caf28982 (patch)
treece912d7153b30e645d1de864c773d72f36e8df3d
parent84c11baf1cd2873665c9bd51f720ee3d83faefa2 (diff)
downloadkernel_samsung_smdk4412-7625c997f40f82b0aba169da7916ebf0caf28982.tar.gz
kernel_samsung_smdk4412-7625c997f40f82b0aba169da7916ebf0caf28982.tar.bz2
kernel_samsung_smdk4412-7625c997f40f82b0aba169da7916ebf0caf28982.zip
mshci: disable MMC_CAP_ERASE on u1
Change-Id: I89d868bd380924b012ef33fca51301b0dcb556a0
-rw-r--r--drivers/mmc/host/mshci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/host/mshci.c b/drivers/mmc/host/mshci.c
index 45997c5c2a5..f93a7eb204a 100644
--- a/drivers/mmc/host/mshci.c
+++ b/drivers/mmc/host/mshci.c
@@ -2045,7 +2045,11 @@ int mshci_add_host(struct mshci_host *host)
mmc->ops = &mshci_ops;
mmc->f_min = 400000;
mmc->f_max = host->max_clk;
+#ifdef CONFIG_MACH_U1
+ mmc->caps |= MMC_CAP_SDIO_IRQ;
+#else
mmc->caps |= MMC_CAP_SDIO_IRQ | MMC_CAP_ERASE;
+#endif
mmc->caps |= MMC_CAP_4_BIT_DATA;