Commit b4f1b177 authored by Marc Yang's avatar Marc Yang Committed by Kalle Valo

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: default avatarCathy Luo <cluo@marvell.com>
Signed-off-by: default avatarMarc Yang <yangyang@marvell.com>
Signed-off-by: default avatarAmitkumar Karwar <akarwar@marvell.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 9d2e85e0
...@@ -1958,8 +1958,8 @@ static void mwifiex_sdio_card_reset_work(struct mwifiex_adapter *adapter) ...@@ -1958,8 +1958,8 @@ static void mwifiex_sdio_card_reset_work(struct mwifiex_adapter *adapter)
pr_err("Resetting card...\n"); pr_err("Resetting card...\n");
mmc_remove_host(target); mmc_remove_host(target);
/* 20ms delay is based on experiment with sdhci controller */ /* 200ms delay is based on experiment with sdhci controller */
mdelay(20); mdelay(200);
target->rescan_entered = 0; /* rescan non-removable cards */ target->rescan_entered = 0; /* rescan non-removable cards */
mmc_add_host(target); mmc_add_host(target);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment