[ALSA] hda-codec - Allow opening SPDIF while analog dup mode
authorTakashi Iwai <tiwai@suse.de>
Mon, 16 Apr 2007 09:23:56 +0000 (11:23 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 11 May 2007 14:55:59 +0000 (16:55 +0200)
commit5930ca41857f57e130b4438a9a261b2ab91f6fcf
treedd2123aee7ab46a0a729cb80bbc00c3caaee2e47
parentf12ab1e07dadecc3ac4774a7354c61baa83ff11f
[ALSA] hda-codec - Allow opening SPDIF while analog dup mode

Allow opening the dedicated SPDIF stream while running on analog dup
mode.  Then the SPDIF stream is once reset and assigned for the new
stream.  It's useful for exclusive SPDIF output like AC3/DTS.
(In the former version, you had to close once the analog stream to
 play the exclusive digital stream.)

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/hda_codec.c