diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-10-25 10:37:11 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-09 13:32:16 -0800 |
commit | 89906f07a8b5656fba3224e980a9a6db265e7c10 (patch) | |
tree | cb116c740a902f1da005595878c8870f4a31b796 /sound/pci/hda/hda_codec.c | |
parent | b4568c55dbd82eaba8d0c854174968f930a6c825 (diff) |
ALSA: hda - Disable sticky PCM stream assignment for AD codecs
commit 0e7adbe263f89ea2ef15b5af5e80a812b2a85025 upstream.
The sticky PCM stream assignment introduced in 2.6.36 kernel seems
causing problems on AD codecs. At some time later, the streaming no
longer works by unknown reason. A simple workaround is to disable
sticky-assignment for these codecs.
Tested-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 14829210ef0b..ca7b86741c7d 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -1281,6 +1281,9 @@ void __snd_hda_codec_cleanup_stream(struct hda_codec *codec, hda_nid_t nid, if (!nid) return; + if (codec->no_sticky_stream) + do_now = 1; + snd_printdd("hda_codec_cleanup_stream: NID=0x%x\n", nid); p = get_hda_cvt_setup(codec, nid); if (p) { |