Patchwork [3.5.y.z,extended,stable] Patch "ALSA: hda - Force to reset IEC958 status bits for AD codecs" has been added to staging queue

mail settings
Submitter Herton Ronaldo Krzesinski
Date Dec. 6, 2012, 3:23 a.m.
Message ID <>
Download mbox | patch
Permalink /patch/204106/
State New
Headers show


Herton Ronaldo Krzesinski - Dec. 6, 2012, 3:23 a.m.
This is a note to let you know that I have just added a patch titled

    ALSA: hda - Force to reset IEC958 status bits for AD codecs

to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree 
which can be found at:;a=shortlog;h=refs/heads/linux-3.5.y-queue

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.5.y.z tree, see



From 45699806e411a87285b8c087b0c865018bedd371 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <>
Date: Mon, 5 Nov 2012 12:32:46 +0100
Subject: [PATCH] ALSA: hda - Force to reset IEC958 status bits for AD codecs
X-Extended-Stable: 3.5

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.


Reported-by: Robin Kreis <>
Signed-off-by: Takashi Iwai <>
Signed-off-by: Herton Ronaldo Krzesinski <>
 sound/pci/hda/patch_analog.c |    1 +
 1 file changed, 1 insertion(+)



diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c
index d8b2d6d..b1180b5 100644
--- a/sound/pci/hda/patch_analog.c
+++ b/sound/pci/hda/patch_analog.c
@@ -545,6 +545,7 @@  static int ad198x_build_pcms(struct hda_codec *codec)
 	if (spec->multiout.dig_out_nid) {
+		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;