From 70dde8bf2e4ad6896b1e291b089862e76f86709a Mon Sep 17 00:00:00 2001 From: G Dhivya Date: Wed, 23 Nov 2016 15:08:29 +0530 Subject: [PATCH] ipq40xx: Remove mmc_init call during board init This fix removes the mmc_init that is being called during board init to prevent error message in cases where eMMC card is not connected. Change-Id: I918c71c391002d24e704be30043ff0cc8dfd4f83 Signed-off-by: G Dhivya --- drivers/mmc/qca_mmc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mmc/qca_mmc.c b/drivers/mmc/qca_mmc.c index 44f31977b8..40d601bf16 100644 --- a/drivers/mmc/qca_mmc.c +++ b/drivers/mmc/qca_mmc.c @@ -325,9 +325,6 @@ int qca_mmc_init(bd_t *bis, qca_mmc *host) host->dev_num = mmc->block_dev.dev; mmc->has_init = 0; mmc->init_in_progress = 0; - ret = mmc_init(mmc); - if (ret) - puts("mmc_init failed\n"); } return ret;