summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/pm-t3.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/pm-t3.c')
-rw-r--r--arch/arm/mach-tegra/pm-t3.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/pm-t3.c b/arch/arm/mach-tegra/pm-t3.c
index 939a9b8ad404..dbc10f229551 100644
--- a/arch/arm/mach-tegra/pm-t3.c
+++ b/arch/arm/mach-tegra/pm-t3.c
@@ -478,9 +478,15 @@ void tegra_lp0_cpu_mode(bool enter)
struct tegra_io_dpd tegra_list_io_dpd[] = {
/* sd dpd bits in dpd2 register */
+#ifndef CONFIG_MACH_APALIS_T30
+/* Hack: fix MMC1 card detection */
IO_DPD_INFO("sdhci-tegra.0", 1, 1), /* SDMMC1 */
+#endif
IO_DPD_INFO("sdhci-tegra.2", 1, 2), /* SDMMC3 */
+#if !defined(CONFIG_MACH_APALIS_T30) && !defined(CONFIG_MACH_COLIBRI_T30)
+/* Hack: fix eMMC detection */
IO_DPD_INFO("sdhci-tegra.3", 1, 3), /* SDMMC4 */
+#endif
};
/* we want to cleanup bootloader io dpd setting in kernel */