Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81563
b: refs/heads/master
c: 48ecb7e
h: refs/heads/master
i:
  81561: 5a59fcd
  81559: 4495972
v: v3
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Jan 31, 2008
1 parent 2852f17 commit 5ae2296
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8e9068b1c7a154246f4cee93fd68c862b81b04e1
refs/heads/master: 48ecb7e879ea172a0b3fd432ad49a870d7be6a59
11 changes: 11 additions & 0 deletions trunk/sound/pci/hda/patch_conexant.c
Original file line number Diff line number Diff line change
Expand Up @@ -826,6 +826,17 @@ static int patch_cxt5045(struct hda_codec *codec)
spec->init_verbs[0] = cxt5045_test_init_verbs;
#endif
}

/*
* Fix max PCM level to 0 dB
* (originall it has 0x2b steps with 0dB offset 0x14)
*/
snd_hda_override_amp_caps(codec, 0x17, HDA_INPUT,
(0x14 << AC_AMPCAP_OFFSET_SHIFT) |
(0x14 << AC_AMPCAP_NUM_STEPS_SHIFT) |
(0x05 << AC_AMPCAP_STEP_SIZE_SHIFT) |
(1 << AC_AMPCAP_MUTE_SHIFT));

return 0;
}

Expand Down

0 comments on commit 5ae2296

Please sign in to comment.