ALSA: hda - hdmi operate spdif based on pcm
authorLibin Yang <libin.yang@linux.intel.com>
Wed, 16 Dec 2015 05:42:43 +0000 (13:42 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Jan 2016 06:34:56 +0000 (07:34 +0100)
commit2bf3c85a5b167a6c87d9d7d655af85d85d51769b
treec33b723b18171ae09c62c2e5b3caecac9ba238c8
parent42b2987079eca0238b576c08af1144ed5bd52188
ALSA: hda - hdmi operate spdif based on pcm

Currently, the driver operates the spdif based on pin.
This is ok for the current driver as pcm is statically
bound to the pin.

However, if the driver uses dynamically pcm assignment,
this will cause confusion for user space.

The patch changes spdif operation from pin based to pcm based.

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