[PATCH] libertas: call into generic suspend code before turning off power

2018-10-08 Thread Daniel Mack
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: 7444a8092906 ("libertas: fix

Re: [PATCH] libertas: call into generic suspend code before turning off power

2018-10-09 Thread Ulf Hansson
On 8 October 2018 at 22:03, Daniel Mack wrote: > 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

Re: [PATCH] libertas: call into generic suspend code before turning off power

2018-10-09 Thread Kalle Valo
Ulf Hansson writes: > On 8 October 2018 at 22:03, Daniel Mack wrote: >> 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 a

Re: [PATCH] libertas: call into generic suspend code before turning off power

2018-10-10 Thread Ulf Hansson
On 9 October 2018 at 15:36, Kalle Valo wrote: > Ulf Hansson writes: > >> On 8 October 2018 at 22:03, Daniel Mack wrote: >>> 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