wlcore: allow elp during wowlan suspend
authorReizer, Eyal <eyalr@ti.com>
Tue, 28 Nov 2017 08:02:07 +0000 (08:02 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 7 Dec 2017 13:21:40 +0000 (15:21 +0200)
commit37bf241b8e7bd619a2ca98139d90166370170299
tree604b59441deeee4cfbd519d2c85f9749b9b67a45
parent99f6996d4cba794f0d65d2e58a1b5b7341bdebda
wlcore: allow elp during wowlan suspend

when enabling wowlan and entering suspend the last write to the firmware
allowing it to go into elp mode was not completing before suspend, leaving
the firmware running in full active mode consuming high power.
Use an immediate call instead of a work queue for this last access
allowing the firmware to go into power save during wowlan uspend.

Signed-off-by: Eyal Reizer <eyalr@ti.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ti/wlcore/main.c