mwifiex: sdio: reset adapter using mmc_hw_reset
authorAndreas Fenkart <afenkart@gmail.com>
Thu, 16 Jul 2015 16:50:01 +0000 (18:50 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 6 Aug 2015 07:05:32 +0000 (10:05 +0300)
commitb4336a282db86b298b70563f8ed51782b36b772c
tree9683a94d6e453bb94a4acc2b1c4fc5c2996fc5de
parent9dc20a649609c95ce7c5ac4282656ba627b67d49
mwifiex: sdio: reset adapter using mmc_hw_reset

Since 1fb654fd97ff("mmc: sdio: add reset callback to bus operations"),
sdio cards can be power cycled using mmc_hw_reset.
The use mmc_remove_host/mmc_add_host is discouraged, because these are
internal functions to the mmc core and should only be used by mmc hosts

Signed-off-by: Andreas Fenkart <afenkart@gmail.com>
Acked-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/sdio.c
drivers/net/wireless/mwifiex/sdio.h