From 82be3de552a4f78335e33a7adbeec63cbcc7a36c Mon Sep 17 00:00:00 2001 From: Nikita Kiryanov Date: Thu, 30 Jul 2015 23:56:20 +0300 Subject: [PATCH] mmc: omap_hsmmc: enable proper CMD(DAT) lines reset procedure for am43xx The CMD(DAT) lines reset procedure described in the OMAP4(AM335x, OMAP5, DRA7xx) TRMs is also necessary for AM43XX. Enable it in the driver. Cc: Pantelis Antoniou Cc: Igor Grinberg Cc: Albert Aribaud Signed-off-by: Nikita Kiryanov --- drivers/mmc/omap_hsmmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c index cf64a84d65..1d98ef34a0 100644 --- a/drivers/mmc/omap_hsmmc.c +++ b/drivers/mmc/omap_hsmmc.c @@ -304,7 +304,7 @@ static void mmc_reset_controller_fsm(struct hsmmc *mmc_base, u32 bit) * (reset procedure is completed). */ #if defined(CONFIG_OMAP44XX) || defined(CONFIG_OMAP54XX) || \ - defined(CONFIG_AM33XX) + defined(CONFIG_AM33XX) || defined(CONFIG_AM43XX) if (!(readl(&mmc_base->sysctl) & bit)) { start = get_timer(0); while (!(readl(&mmc_base->sysctl) & bit)) { -- 2.39.2