diff options
author | 2017-05-18 01:39:44 +0000 | |
---|---|---|
committer | 2017-05-24 18:44:11 +0100 | |
commit | 73b17f1a65c881fcf97109d77056006da2d40152 (patch) | |
tree | 78e67c16a6324716cc6982375f214e2bdee356af /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'topic/dai-id' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-of-graph (diff) | |
download | wireguard-linux-73b17f1a65c881fcf97109d77056006da2d40152.tar.xz wireguard-linux-73b17f1a65c881fcf97109d77056006da2d40152.zip |
ASoC: simple-card-utils: support snd_soc_get_dai_id()
ALSA SoC needs to know connected DAI ID for detecting.
It is not a big problem if device/driver was only for sound,
but getting DAI ID will be difficult if device includes both
Video/Sound, like HDMI.
To solve this issue, this patch adds new snd_soc_get_dai_id() and
its related .of_xlate_dai_id callback on component driver.
In below case, we can handle Sound port (= port@2) as ID = 0
if .of_xlate_dai_id has its support.
hdmi {
port@0 { /* VIDEO */ };
port@1 { /* VIDEO */ };
port@2 { /* SOUND */ };
};
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions