diff options
author | Kuninori Morimoto <[email protected]> | 2021-01-15 13:56:35 +0900 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-01-21 12:38:21 +0000 |
commit | fac110cbcddec115c7d4b79d7491aebebbe44469 (patch) | |
tree | 7c47f5ee1abb339813363fe9c1210d4006a1da4f /tools/perf/scripts/python/futex-contention.py | |
parent | fa31a2c787aeaf61d02b2a57bd9765ca5e67d949 (diff) |
ASoC: soc-pcm: cleanup soc_pcm_apply_symmetry()
soc_pcm_apply_symmetry() want to call snd_pcm_hw_constraint_single()
for rate/channel/sample_bits, but, it needs many condition checks.
These are very similar but different, thus, it needs to have very
verbose code.
This patch use macro for it and make code more simple.
Signed-off-by: Kuninori Morimoto <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions