diff options
| author | 2020-07-02 09:29:48 -0700 | |
|---|---|---|
| committer | 2020-07-15 12:12:27 +0300 | |
| commit | eb215c33f308cefe6d3691ffac27f9f498280811 (patch) | |
| tree | 7222f54cba9d109f0a750615393dec4d06f6ff41 /include/linux/timerqueue.h | |
| parent | mwifiex: Use macro MWIFIEX_MAX_BSS_NUM for specifying limit of interfaces (diff) | |
wlcore: Simplify runtime resume ELP path
We can simplify the runtime resume ELP path by always setting and
clearing the completion in runtime resume. This way we can test for
WL1271_FLAG_IRQ_RUNNING after the resume write to see if we need
completion at all.
And in wlcore_irq(), we need to take spinlock for running the
completion and for the pm_wakeup_event(). Spinlock is not needed
around the bitops flags check for WL1271_FLAG_SUSPENDED so the
spinlocked sections get shorter.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200702162951.45392-2-tony@atomide.com
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
