]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite523dfb14212c42e644d23d68b0884c4037fcfb8
treec33b723b18171ae09c62c2e5b3caecac9ba238c8
parent48e96985bd1ada779d04c3b310f10d2a1d57dcf6
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