summaryrefslogtreecommitdiff
path: root/sound/pci
diff options
context:
space:
mode:
authorDaniel T Chen <crimsun@ubuntu.com>2010-04-28 18:00:11 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-12 14:57:09 -0700
commitce6f0822025b8e13c7058b954eba4d40cb2a93b5 (patch)
treefca3be8fb9d6a9ee518af4af00409e514cf0fd6c /sound/pci
parent39369ec38a6530f9bb3e1978642331b9a35eaf2a (diff)
ALSA: hda: Fix 0 dB for Packard Bell models using Conexant CX20549 (Venice)
commit 8f0f5ff6777104084b4b2e1ae079541c2a6ed6d9 upstream. BugLink: https://launchpad.net/bugs/541802 The OR's hardware distorts at PCM 100% because it does not correspond to 0 dB. Fix this in patch_cxt5045() for all Packard Bell models. Reported-by: Valombre Signed-off-by: Daniel T Chen <crimsun@ubuntu.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/patch_conexant.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index e90466745c30..d5be44ac7c05 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:
+ case 0x1631:
case 0x1734:
- /* HP & Fujitsu-Siemens laptops have really bad sound over 0dB
- * on NID 0x17. Fix max PCM level to 0 dB
+ /* HP, Packard Bell, & 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,