mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-04 19:54:03 +08:00
mwifiex: card reset: enable rescan of non-removable card
mmc_rescan will scan for non-removable cards only once, hence the card will not be rediscovered. Signed-off-by: Andreas Fenkart <afenkart@gmail.com> Acked-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
bd6fb31fd3
commit
81df6cafe2
@ -1954,6 +1954,7 @@ static void mwifiex_sdio_card_reset_work(struct mwifiex_adapter *adapter)
|
||||
mmc_remove_host(target);
|
||||
/* 20ms delay is based on experiment with sdhci controller */
|
||||
mdelay(20);
|
||||
target->rescan_entered = 0; /* rescan non-removable cards */
|
||||
mmc_add_host(target);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user