diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2025-01-06 05:49:49 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-01-13 14:16:56 +0000 |
commit | 365865b7d7467aea9767ea18670198921bcada7c (patch) | |
tree | f6472dfde06449ed4d6703151a55403606dd7d4a /tools/perf/scripts/python/syscall-counts.py | |
parent | 24410f499e808884cc91239dc16013e5bee8779a (diff) |
ASoC: audio-graph-card2: Use extra format on each DAI
Current ASoC is using dai_link->dai_fmt to set DAI format for both
CPU/Codec. But because it is using same settings, and
SND_SOC_DAIFMT_CLOCK_PROVIDER is flipped for CPU, we can't set both
CPU/Codec as clock consumer, for example.
To solve this issue, this patch uses extra format for each DAI which can
keep compatibility with legacy system,
1. SND_SOC_DAIFMT_FORMAT_MASK
2. SND_SOC_DAIFMT_CLOCK
3. SND_SOC_DAIFMT_INV
4. SND_SOC_DAIFMT_CLOCK_PROVIDER
Legacy
dai_fmt includes 1, 2, 3, 4
New idea
dai_fmt includes 1, 2, 3
ext_fmt includes 4
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Stephen Gordon <gordoste@iinet.net.au>
Link: https://patch.msgid.link/87pll0o5j6.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions