From b4f1b177be27103cd84a3692ae71bf857700e27f Mon Sep 17 00:00:00 2001 From: Marc Yang Date: Wed, 31 Dec 2014 02:36:40 -0800 Subject: [PATCH] mwifiex: increase delay during card reset 200ms is the requirement to allow VDD1.1 and VDD1.8 to drop to have proper reset. Signed-off-by: Cathy Luo Signed-off-by: Marc Yang Signed-off-by: Amitkumar Karwar Signed-off-by: Kalle Valo --- drivers/net/wireless/mwifiex/sdio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/mwifiex/sdio.c b/drivers/net/wireless/mwifiex/sdio.c index 274a1b2b0365..4e8aedd5c9f3 100644 --- a/drivers/net/wireless/mwifiex/sdio.c +++ b/drivers/net/wireless/mwifiex/sdio.c @@ -1958,8 +1958,8 @@ static void mwifiex_sdio_card_reset_work(struct mwifiex_adapter *adapter) pr_err("Resetting card...\n"); mmc_remove_host(target); - /* 20ms delay is based on experiment with sdhci controller */ - mdelay(20); + /* 200ms delay is based on experiment with sdhci controller */ + mdelay(200); target->rescan_entered = 0; /* rescan non-removable cards */ mmc_add_host(target); } -- 2.20.1