summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorDaniel T Chen <crimsun@ubuntu.com>2009-11-25 18:27:20 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-12 14:57:09 -0700
commit39369ec38a6530f9bb3e1978642331b9a35eaf2a (patch)
tree2f45d1f4bf0824e7fea26d007db8c9d0d559e6c0 /sound
parente88567cb09b5ff4516b864cbaf8736d7125567e7 (diff)
downloadlinux-stable-39369ec38a6530f9bb3e1978642331b9a35eaf2a.tar.gz
linux-stable-39369ec38a6530f9bb3e1978642331b9a35eaf2a.tar.bz2
linux-stable-39369ec38a6530f9bb3e1978642331b9a35eaf2a.zip
ALSA: hda: Fix max PCM level to 0 dB for Fujitsu-Siemens laptops using CX20549 (Venice)
commit 0b587fc4d35afb1bc0fc3d890084bb14c78372dc upstream. BugLink: https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4792 Cristian reported that these models have really bad sound above 6 dB and proposed the original patch. I've updated the comment to reflect this change. Signed-off-by: Daniel T Chen <crimsun@ubuntu.com> Reported-by: Cristian Klein Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_conexant.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index 79afb46a0fbc..e90466745c30 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -1175,9 +1175,10 @@ static int patch_cxt5045(struct hda_codec *codec)
switch (codec->subsystem_id >> 16) {
case 0x103c:
- /* HP laptop has a really bad sound over 0dB on NID 0x17.
- * Fix max PCM level to 0 dB
- * (originall it has 0x2b steps with 0dB offset 0x14)
+ case 0x1734:
+ /* HP & Fujitsu-Siemens laptops have really bad sound over 0dB
+ * on NID 0x17. Fix max PCM level to 0 dB
+ * (originally it has 0x2b steps with 0dB offset 0x14)
*/
snd_hda_override_amp_caps(codec, 0x17, HDA_INPUT,
(0x14 << AC_AMPCAP_OFFSET_SHIFT) |