From 774e3704de94c329d3319c30bb2fcade9a6a8dd9 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Mon, 21 Nov 2016 08:46:26 +0100 Subject: mmc: tegra: apalis-tk1: no longer do card detect polling on v1.1 hw Now with the working card detect pin in place on the latest V1.1 HW polling is no longer required. Therefore make it an optional define for V1.0 samples. Signed-off-by: Marcel Ziswiler Acked-by: Dominik Sliwa --- drivers/mmc/host/sdhci-tegra.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/mmc/host/sdhci-tegra.c') diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c index c5ece6947cbf..252757e0e466 100644 --- a/drivers/mmc/host/sdhci-tegra.c +++ b/drivers/mmc/host/sdhci-tegra.c @@ -4340,7 +4340,7 @@ static int sdhci_tegra_probe(struct platform_device *pdev) host->mmc->pm_caps |= plat->pm_caps; host->mmc->pm_flags |= plat->pm_flags; -#ifdef CONFIG_MACH_APALIS_TK1 +#ifdef APALIS_TK1_V10 /* * Enable card detect polling as we can't use SD1_CD# aka * SDMMC3_CLK_LB_OUT for now as it features some magic properties even @@ -4349,7 +4349,7 @@ static int sdhci_tegra_probe(struct platform_device *pdev) * being set to 0xfffd according to the TRM! */ host->mmc->caps |= MMC_CAP_NEEDS_POLL; -#endif /* CONFIG_MACH_APALIS_TK1 */ +#endif /* APALIS_TK1_V10 */ host->mmc->caps |= MMC_CAP_ERASE; /* enable 1/8V DDR capable */ -- cgit v1.2.3