ALSA: hda - build chmap kctl based on pcm in hdmi audio
authorLibin Yang <libin.yang@linux.intel.com>
Wed, 3 Feb 2016 02:48:34 +0000 (10:48 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 3 Feb 2016 07:49:08 +0000 (08:49 +0100)
commit022f344b41a54a995d90450726842518e91aec29
tree10471ec4a4b93dc9aa4f70f9f32a07ae70cd0886
parentb09887f89159a6883a4e1837bbe1698167def91e
ALSA: hda - build chmap kctl based on pcm in hdmi audio

Build chmap kctl based on pcm. The first chmap kctl will be
mapped to the first pcm, and so on.

When a monitor is connected to a pin, the chmap kctl can
find the pin and the monitor through the pcm index.

Signed-off-by: Libin Yang <libin.yang@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c