mwifiex: increase delay during card reset
authorMarc Yang <[email protected]>
Wed, 31 Dec 2014 10:36:40 +0000 (02:36 -0800)
committerKalle Valo <[email protected]>
Tue, 6 Jan 2015 19:19:38 +0000 (21:19 +0200)
200ms is the requirement to allow VDD1.1 and VDD1.8 to
drop to have proper reset.

Signed-off-by: Cathy Luo <[email protected]>
Signed-off-by: Marc Yang <[email protected]>
Signed-off-by: Amitkumar Karwar <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
drivers/net/wireless/mwifiex/sdio.c

index 274a1b2b0365bd53cade2dd72472a9f3b7e51620..4e8aedd5c9f3d06020a1dfdecc04127b6fca5bd4 100644 (file)
@@ -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);
 }