]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: intel: skl_hda_dsp_common: create HDMI jack kctl
authorLibin Yang <libin.yang@intel.com>
Thu, 8 Aug 2019 19:27:34 +0000 (14:27 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 8 Aug 2019 19:57:01 +0000 (20:57 +0100)
commit734b683c75231a138ac2f5ba82783f0163f65ed5
treeae9b56e5423d1ddffa6f4d19904f6407621dcd09
parent86df9a86df561866915c4132fb4b3e007a0ed2a4
ASoC: intel: skl_hda_dsp_common: create HDMI jack kctl

This patch call snd_jack_add_new_kctl() to create the HDMI jack kctls.
Userspace needs these kctls to detect the hdmi monitor hotplug.

In /usr/share/alsa/ucm, the config file needs to assign a jack kctl to
"JackControl" to let PA get the jack hotplug status.

Signed-off-by: Libin Yang <libin.yang@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190808192734.18286-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/skl_hda_dsp_common.c