diff options
author | Krzysztof Kozlowski <[email protected]> | 2023-10-19 16:41:08 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-10-25 17:21:41 +0100 |
commit | 7618ab524935667699afed76fb83bc9bb38710ec (patch) | |
tree | f899a342220ff15099fa7a63dd36229a798818f6 /tools/perf/scripts/python/task-analyzer.py | |
parent | e29de7abdaf56f58141b01f74862b320191c9203 (diff) |
ASoC: codecs: wcd938x: use defines for entries in snd_soc_dai_driver array
snd_soc_dai_driver array in wcd938x driver has two entries whose order
must match order of wcd938x->sdw_priv array. The wcd938x_bind() and
wcd938x_codec_set_sdw_stream() rely on this order. wcd938x->sdw_priv
array is indexed by enum with AIF1_PB and AIF1_CAP, so use the same
defines instead of raw numners for snd_soc_dai_driver array.
No functional impact.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions