wlcore: Use generic runtime pm calls for wowlan elp configuration
authorEyal Reizer <eyalreizer@gmail.com>
Tue, 19 Jun 2018 09:43:40 +0000 (02:43 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 27 Jun 2018 15:45:17 +0000 (18:45 +0300)
commit45aa7f071b06c8481afed4c7b93e07c9584741e8
tree9c09cd9128ad98fa595181336daffe76c75b0229
parentdb68052bdf581eb5e7f74da4a5bb5933113dbaaf
wlcore: Use generic runtime pm calls for wowlan elp configuration

With runtime PM enabled, we can now use calls to pm_runtime_force_suspend
and pm_runtime_force_resume for enabling elp during suspend when wowlan
is enabled and waking the chip from elp on resume.

Remove the custom API that was used to ensure that the command
that is used to allow ELP during suspend is completed before the system
suspend.

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