diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-10-25 10:37:11 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-10-25 10:39:23 +0200 |
commit | 0e7adbe263f89ea2ef15b5af5e80a812b2a85025 (patch) | |
tree | 14916319b641eb472b62aacfdcaeb1c9a9f28a1a /sound/pci/hda/hda_codec.c | |
parent | 62b7e5e09bcb854ff05e6ee1aa161f8283dc36ee (diff) | |
download | linux-0e7adbe263f89ea2ef15b5af5e80a812b2a85025.tar.gz linux-0e7adbe263f89ea2ef15b5af5e80a812b2a85025.tar.bz2 linux-0e7adbe263f89ea2ef15b5af5e80a812b2a85025.zip |
ALSA: hda - Disable sticky PCM stream assignment for AD codecs
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>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@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 13c1e7703c49..644e3f14f8ca 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -1284,6 +1284,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) { |