diff options
author | Richard Fitzgerald <[email protected]> | 2021-11-16 16:39:00 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-11-17 13:04:45 +0000 |
commit | 3edde6de090617adea18f2068489086c0d8087e3 (patch) | |
tree | 289ca86918c419bfc0f14de707905840f0c58eaf /tools/perf/scripts/python/mem-phys-addr.py | |
parent | f2dfbaaa5404cadf70213146a5b4b89b647d9092 (diff) |
ASoC: cs42l42: Simplify reporting of jack unplug
When reporting a jack unplug there's no need to make the reported
flags conditional on which flags were reported during the plug
event. It's perfectly safe to report all flags and buttons as
not-present and let the higher code filter for changes.
There's also no need to make two separate snd_soc_jack_report()
calls for presence flags and button flags. It can all be done in
one report.
Signed-off-by: Richard Fitzgerald <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions