diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-11-05 12:32:46 +0100 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2012-11-16 16:47:09 +0000 |
commit | 4ab8c7f8b9dbd7d20960f2e430c7d9c0eac3fa88 (patch) | |
tree | 7989256eab73afc5406e920acac8cdf5534fcb9a /sound/pci | |
parent | f385bbf0ada36111df8069110e386556dcd94279 (diff) | |
download | lwn-4ab8c7f8b9dbd7d20960f2e430c7d9c0eac3fa88.tar.gz lwn-4ab8c7f8b9dbd7d20960f2e430c7d9c0eac3fa88.zip |
ALSA: hda - Force to reset IEC958 status bits for AD codecs
commit ae24c3191ba2ab03ec6b4be323e730e00404b4b6 upstream.
Several bug reports suggest that the forcibly resetting IEC958 status
bits is required for AD codecs to get the SPDIF output working
properly after changing streams.
Original fix credit to Javeed Shaikh.
BugLink: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/359361
Reported-by: Robin Kreis <r.kreis@uni-bremen.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/patch_analog.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c index bcb3310c394f..b4890f92557b 100644 --- a/sound/pci/hda/patch_analog.c +++ b/sound/pci/hda/patch_analog.c @@ -573,6 +573,7 @@ static int ad198x_build_pcms(struct hda_codec *codec) if (spec->multiout.dig_out_nid) { info++; codec->num_pcms++; + codec->spdif_status_reset = 1; info->name = "AD198x Digital"; info->pcm_type = HDA_PCM_TYPE_SPDIF; info->stream[SNDRV_PCM_STREAM_PLAYBACK] = ad198x_pcm_digital_playback; |