summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
authorTakashi Iwai2010-10-25 10:37:11 +0200
committerTakashi Iwai2010-10-25 10:39:23 +0200
commit0e7adbe263f89ea2ef15b5af5e80a812b2a85025 (patch)
tree14916319b641eb472b62aacfdcaeb1c9a9f28a1a /sound/pci/hda/hda_codec.h
parentALSA: hda - Add workarounds for CT-IBG controllers (diff)
downloadkernel-qcow2-linux-0e7adbe263f89ea2ef15b5af5e80a812b2a85025.tar.gz
kernel-qcow2-linux-0e7adbe263f89ea2ef15b5af5e80a812b2a85025.tar.xz
kernel-qcow2-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.h')
-rw-r--r--sound/pci/hda/hda_codec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index ebf8eb02e3c2..fdf8d44f8b6b 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -850,6 +850,7 @@ struct hda_codec {
unsigned int pin_amp_workaround:1; /* pin out-amp takes index
* (e.g. Conexant codecs)
*/
+ unsigned int no_sticky_stream:1; /* no sticky-PCM stream assignment */
unsigned int pins_shutup:1; /* pins are shut up */
unsigned int no_trigger_sense:1; /* don't trigger at pin-sensing */
#ifdef CONFIG_SND_HDA_POWER_SAVE