]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit88d4e363628eafa356aff9c88494e32057b9cbb3
tree9c09cd9128ad98fa595181336daffe76c75b0229
parentcf8d4c777ef0cd047e70eaf28de3337b2ab8b397
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