Skip to content

Commit

Permalink
ALSA: hda: Fix max PCM level to 0 dB for Fujitsu-Siemens laptops usin…
Browse files Browse the repository at this point in the history
…g CX20549 (Venice)

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>
  • Loading branch information
Daniel T Chen authored and Takashi Iwai committed Nov 26, 2009
1 parent 95a618b commit 0b587fc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions sound/pci/hda/patch_conexant.c
Original file line number Diff line number Diff line change
Expand Up @@ -1171,9 +1171,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) |
Expand Down

0 comments on commit 0b587fc

Please sign in to comment.