]> git.baikalelectronics.ru Git - kernel.git/commit
[ALSA] hda-codec - Fix SPDIF output
authorTakashi Iwai <tiwai@suse.de>
Thu, 5 Apr 2007 12:51:48 +0000 (14:51 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 11 May 2007 14:55:56 +0000 (16:55 +0200)
commitac86434e0ca9fbca930f0b5227c4eea311bd971e
treebe20e5e69f05499091ee9d83005b2712babb5431
parent436a52d3b8a913f1cea34ad45284bcf4ebfd7a1c
[ALSA] hda-codec - Fix SPDIF output

Fix SPDIF output (at least on Realtek codecs).  The DIGI_CONVERT verbs
have to be reset before the PCM stream is set up.  Otherwise the digital
setup is screwed up.
Also, check the AMP capability before setting AMP of the digital out
widget.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_local.h
sound/pci/hda/patch_analog.c
sound/pci/hda/patch_atihdmi.c
sound/pci/hda/patch_cmedia.c
sound/pci/hda/patch_conexant.c
sound/pci/hda/patch_realtek.c
sound/pci/hda/patch_sigmatel.c
sound/pci/hda/patch_via.c