diff options
| author | Cezary Rojewski <cezary.rojewski@intel.com> | 2026-03-09 10:16:03 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-03-11 13:34:11 +0000 |
| commit | 2464febd81e4c98f78466462da938ed2f8c37e17 (patch) | |
| tree | 5a1fc49a6c23d9776fb52929e0c79a545a772ed5 /tools/perf/scripts/python/stackcollapse.py | |
| parent | d16b942aa7fa6135a44d156246d98e50b5a0aad3 (diff) | |
ASoC: Intel: catpt: Simplify procedure of applying user settings
Existing catpt_dai_apply_usettings() applies all the individual control
settings but why-what is covered behind if-statements. Refactor the
operation into:
catpt_apply_controls()
|__ catpt_apply_volume()
|__ catpt_apply_mute()
to make it easy to understand why and what is going on. The update also
enlists snd_ctl_find_id_mixer() for the query purpose, removing code
duplication.
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20260309091605.896307-4-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
