]> git.baikalelectronics.ru Git - kernel.git/commit
libertas: call into generic suspend code before turning off power
authorDaniel Mack <daniel@zonque.org>
Mon, 8 Oct 2018 20:03:57 +0000 (22:03 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 10 Oct 2018 12:01:50 +0000 (14:01 +0200)
commitdf2760aaa35926e4b3a04db5096cae9285e13653
tree098c48aa15d8994a40411d4b24a3a9a3f8941952
parent4b642a64c5c87dbf1c70a08e10610e5609d487a7
libertas: call into generic suspend code before turning off power

When powering down a SDIO connected card during suspend, make sure to call
into the generic lbs_suspend() function before pulling the plug. This will
make sure the card is successfully deregistered from the system to avoid
communication to the card starving out.

Fixes: 6761c5d410d5 ("libertas: fix suspend and resume for SDIO connected cards")
Signed-off-by: Daniel Mack <daniel@zonque.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/net/wireless/marvell/libertas/if_sdio.c