diff options
| author | Tony Lindgren <[email protected]> | 2020-07-02 09:29:48 -0700 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2020-07-15 12:12:27 +0300 |
| commit | eb215c33f308cefe6d3691ffac27f9f498280811 (patch) | |
| tree | 7222f54cba9d109f0a750615393dec4d06f6ff41 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 0ef0ace3e8e7d7be6dd7de2617ef3590170a3392 (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 <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions