diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2020-12-11 14:55:33 +0900 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-01-13 11:33:12 +0000 |
commit | a39748d03cbc7c0a55d217731c7e16a22a2d2bed (patch) | |
tree | 22089e874034f32111a35e73373028598009218f /tools/perf/scripts/python/netdev-times.py | |
parent | 2805b8bd3e0bdda15b3458ab9818d80f5d5b157f (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 check.
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 <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87wnxo7uyq.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions