linux/drivers/net/wireless
Tony Lindgren 728a9dc61f wlcore: sdio: Fix flakey SDIO runtime PM handling
We can have pm_runtime_get_sync() return 1, and we can have
pm_runtime_put_sync() return -EBUSY. See rpm_suspend() and
rpm_resume() for more information.

Fix the issue by returning 0 from wl12xx_sdio_power_on() on success.
And use pm_runtime_put() instead of pm_runtime_put_sync() for
wl12xx_sdio_power_off(), then the MMC subsystem will idle the bus
when suitable.

Otherwise wlcore can sometimes get confused and may report bogus
errors and WLAN connection can fail.

Note that while wlcore checks the return value for wl1271_power_on(),
the return value is ignored for wl1271_power_off(). Let's fix them
both though to avoid further confusion in the future.

Fixes: 60f36637bb ("wlcore: sdio: allow pm to handle sdio power")
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-05-29 10:14:45 +03:00
..
admtek net/wireless: fix spaces and grammar copy/paste in vendor Kconfig help text 2018-03-13 18:52:25 +02:00
ath Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git 2018-05-23 10:42:08 +03:00
atmel Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2018-04-05 11:56:35 -07:00
broadcom brcmfmac: trigger memory dump on SDIO firmware halt message 2018-05-23 18:52:02 +03:00
cisco Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2018-04-03 14:04:18 -07:00
intel ipw2200: fix spelling mistake: "functionalitis" -> "functionalities" 2018-05-04 15:37:37 +03:00
intersil wireless: Use octal not symbolic permissions 2018-03-27 11:01:13 +03:00
marvell mwifiex: support sysfs initiated device coredump 2018-05-23 18:51:49 +03:00
mediatek mt76: use udelay instead of usleep_range in mt76x2_mac_stop 2018-05-23 10:58:20 +03:00
quantenna wireless-drivers: Dynamically allocate struct station_info 2018-05-12 11:51:14 +03:00
ralink rt2x00: check against flushing empty queue 2018-05-04 15:34:20 +03:00
realtek rtlwifi: remove duplicate definition of antenna number for btcoex 2018-05-09 13:23:00 +03:00
rsi rsi: add fix for corruption of auto rate table 2018-05-23 11:02:24 +03:00
st cw1200: fix spelling mistake: "Mailformed" -> "Malformed" 2018-04-24 20:23:05 +03:00
ti wlcore: sdio: Fix flakey SDIO runtime PM handling 2018-05-29 10:14:45 +03:00
zydas net/wireless: fix spaces and grammar copy/paste in vendor Kconfig help text 2018-03-13 18:52:25 +02:00
Kconfig
mac80211_hwsim.c mac80211_hwsim: fix a possible memory leak in hwsim_new_radio_nl() 2018-05-07 15:01:29 +02:00
mac80211_hwsim.h mac80211_hwsim: add permanent mac address option for new radios 2018-01-31 12:45:35 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ray_cs.c wireless: Use octal not symbolic permissions 2018-03-27 11:01:13 +03:00
ray_cs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rayctl.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rndis_wlan.c
wl3501_cs.c
wl3501.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00