diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-10-26 12:35:56 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2007-11-19 18:38:32 +0100 |
commit | d29240ce57d96db7300360d1e6f18357810a5c2b (patch) | |
tree | 5e095bde9f0180962481bbf330fd5a7de0bb8fd5 /sound/pci/hda/patch_analog.c | |
parent | 2ffbb8377c7a0713baf6644e285adc27a5654582 (diff) | |
download | op-kernel-dev-d29240ce57d96db7300360d1e6f18357810a5c2b.zip op-kernel-dev-d29240ce57d96db7300360d1e6f18357810a5c2b.tar.gz |
[ALSA] hda-codec - Disable shared stream on AD1986A
AD1986A has a hardware problem that it cannot share a stream with
multiple pins properly. The problem occurs e.g. when a volume is changed
during playback.
So far, hda-intel driver unconditionally assigns the stream to multiple
output pins in copy-front mode, and this should be avoided for AD1986A
codec.
The original fix patch was by zhejiang <zhe.jiang@intel.com>.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci/hda/patch_analog.c')
-rw-r--r-- | sound/pci/hda/patch_analog.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c index 0ee8ae4..196ad3c 100644 --- a/sound/pci/hda/patch_analog.c +++ b/sound/pci/hda/patch_analog.c @@ -957,6 +957,14 @@ static int patch_ad1986a(struct hda_codec *codec) break; } + /* AD1986A has a hardware problem that it can't share a stream + * with multiple output pins. The copy of front to surrounds + * causes noisy or silent outputs at a certain timing, e.g. + * changing the volume. + * So, let's disable the shared stream. + */ + spec->multiout.no_share_stream = 1; + return 0; } |