diff options
author | Arend van Spriel <arend@broadcom.com> | 2015-04-14 18:10:30 (GMT) |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-05-09 13:26:55 (GMT) |
commit | bdf1340cf20f8cb127850a6174aa9437c0941161 (patch) | |
tree | bb7ff21d749babb7c0e5c88e32e895e73fc832e3 /drivers/net/wireless/brcm80211/brcmfmac/chip.c | |
parent | 8b36e98895e1cdf836995b14866101dcd23d01ea (diff) | |
download | linux-bdf1340cf20f8cb127850a6174aa9437c0941161.tar.xz |
brcmfmac: fix sdio suspend and resume
commit 330b4e4be937 ("brcmfmac: Add wowl support for SDIO devices.")
changed the behaviour by removing the MMC_PM_KEEP_POWER flag for
non-wowl scenario, which needs to be restored. Another necessary
change is to mark the card as being non-removable. With this in place
the suspend resume test passes successfully doing:
# echo devices > /sys/power/pm_test
# echo mem > /sys/power/state
Note that power may still be switched off when system is going
in S3 state.
Reported-by: Fu, Zhonghui <<zhonghui.fu@linux.intel.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/chip.c')
0 files changed, 0 insertions, 0 deletions