brcmfmac: assure active clock request upon entering SLEEP state
authorArend van Spriel <[email protected]>
Sat, 15 Mar 2014 16:18:20 +0000 (17:18 +0100)
committerJohn W. Linville <[email protected]>
Mon, 17 Mar 2014 17:44:14 +0000 (13:44 -0400)
commit8a385ba542dd6d20e3067d486f5f75ff71baa4db
treefaa7cbcca7ae6f56020b0407696f00b7a7a15925
parent63dd99e699f2d5e70bf3b3b28fa59fb2c8c640c7
brcmfmac: assure active clock request upon entering SLEEP state

When the SDIO driver goes in low power state it must assure that
a clock request in ChipCLKCSR is set. Otherwise waking up the
device can fail. The register is read and if necessary the ALP
clock will be requested.

Reviewed-by: Daniel (Deognyoun) Kim <[email protected]>
Reviewed-by: Hante Meuleman <[email protected]>
Reviewed-by: Franky (Zhenhui) Lin <[email protected]>
Reviewed-by: Pieter-Paul Giesberts <[email protected]>
Signed-off-by: Arend van Spriel <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c