summaryrefslogtreecommitdiff
path: root/kernel/acct.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2017-05-18 01:39:25 +0000
committerMark Brown <broonie@kernel.org>2017-05-24 18:37:47 +0100
commita180e8b988437b3e84a1b501ac4d073467602ca6 (patch)
treef852e4220dd912942495af8871dd91935347c5f3 /kernel/acct.c
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff)
ASoC: add snd_soc_get_dai_id() function
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 'kernel/acct.c')
0 files changed, 0 insertions, 0 deletions