]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: wait firmware dump complete during card remove process
authorXinming Hu <huxm@marvell.com>
Wed, 16 Nov 2016 13:09:08 +0000 (18:39 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 12 Jan 2017 14:44:30 +0000 (16:44 +0200)
commit74e7af0321d95011ef14250105153e6f18f1d56a
treea4bcc3fbfe3782d49698358e40a08979e52d04d0
parentd8e7a0a6f899f164270b4558be9c3b34e821a030
mwifiex: wait firmware dump complete during card remove process

Wait for firmware dump complete in card remove function.
For sdio interface, there are two diffenrent cases,
card reset trigger sdio_work and firmware dump trigger sdio_work.
Do code rearrangement for distinguish between these two cases.

Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/pcie.c
drivers/net/wireless/marvell/mwifiex/sdio.c