]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: hdmi-codec: add .get_dai_id support
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 18 May 2017 01:40:20 +0000 (01:40 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 24 May 2017 17:45:29 +0000 (18:45 +0100)
commit96203fb4237bf70f0fd0fa307ca2975077db3ceb
tree9641ed8df0d72e910b568d81a0fda0bd6d2bd08b
parent24069b589b02cc1292761b0f72623dd50ad1e19c
ASoC: hdmi-codec: add .get_dai_id support

ALSA SoC needs to know connected DAI ID for probing.
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 .get_dai_id callback
on hdmi_codec_ops

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/hdmi-codec.h
sound/soc/codecs/hdmi-codec.c