On Fri, Sep 1, 2017 at 1:02 PM, Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx> wrote: > Also note that the wifi chip (the term "radio" does not quite cover it) has > not really lost power. It is quite common that it is not powered through the > SDIO bus. With the power-sequence support in the MMC stack these days the > suspend may result in loss of power. Otherwise, it is just the bus that > loses power (and clock) and the flags affect what tricks the MMC stack tries > to pull to get the device accessible again upon resume. > Arend, Indeed - I'm familiar with the platform that Eric is using and it is exactly as you say: the chip is powered externally. There's some platform issues here that need to be resolved in addition, but the change to brcmfmac stands alone OK. > Maybe you can incorporate some of this in the commit message, but you should > at least add: > > Fixes: 330b4e4be937 ("brcmfmac: Add wowl support for SDIO devices.") > Fixes: bdf1340cf20f ("brcmfmac: fix sdio suspend and resume") > Reviewed-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx> > >> Signed-off-by: Eric Bentley eric.bentley@xxxxxxxxxxxxx I've tested the patch on my platforms and works as expected. Eric, please add my: Tested-by: Steve deRosier <derosier@xxxxxxxxx> Thanks, - Steve