]> 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)
commitef34517b776de32f382edb837255aaa4c4007776
tree098c48aa15d8994a40411d4b24a3a9a3f8941952
parent5271a110e40f8915d878b45c321baeb5d789e3c0
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: 31ed73a95677 ("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