]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: hdac_hdmi: create dais based on number of cvts
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>
Fri, 12 Feb 2016 02:16:04 +0000 (07:46 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 15 Feb 2016 20:54:03 +0000 (20:54 +0000)
commit17a42c4500b05a6af4c32eb8e9cfc44bab945d1f
treec201c409f3a48f0d2baa364fd910fc386a155d63
parent211caab73b20dcc91ac103db0f68fe2388120d59
ASoC: hdac_hdmi: create dais based on number of cvts

After enabling all pins/cvts, Skylake HDMI codec enumerates 3
converters.  Three independent streams can be supported with 3
cvts. This patch removes the static dai creation and creates dais
based on the number of cvts queried.

Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdac_hdmi.c