]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Don't reset SPDIF in each status change
authorTakashi Iwai <tiwai@suse.de>
Mon, 11 Aug 2008 08:04:40 +0000 (10:04 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 13 Aug 2008 09:46:59 +0000 (11:46 +0200)
commitc683f73911d52aef618a7d88eb2a00f1f91eeba9
tree9af7cb772e9202e40385520748f0b15b37bc5f3c
parent00fb32b7c4313861fa79326b2d5be77a1e602d37
ALSA: hda - Don't reset SPDIF in each status change

The SPDIF output is toggled at each time any SPDIF status bits are changed
because of the known problems on some codecs.  But, this also results in
loosing the sync, and the problem is more obvious on HDMI output over
SPDIF.  Since the toggle is necessary only for some codecs, we should
check whether this workaround is needed and skip if unnecessary.

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