Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298939
b: refs/heads/master
c: 51969d6
h: refs/heads/master
i:
  298937: 8d79991
  298935: 27684fd
v: v3
  • Loading branch information
Michael Karcher authored and Takashi Iwai committed Apr 7, 2012
1 parent 5f55d21 commit 10a4394
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e6e03daecd2c82437b550ad1a62052c22fdb2b5b
refs/heads/master: 51969d62c3b26e887dae734de421b320a296ac58
5 changes: 3 additions & 2 deletions trunk/sound/pci/hda/patch_conexant.c
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,6 @@ static int patch_cxt5045(struct hda_codec *codec)
if (!spec)
return -ENOMEM;
codec->spec = spec;
codec->pin_amp_workaround = 1;
codec->single_adc_amp = 1;

spec->multiout.max_channels = 2;
Expand Down Expand Up @@ -4443,15 +4442,17 @@ static int patch_conexant_auto(struct hda_codec *codec)
if (!spec)
return -ENOMEM;
codec->spec = spec;
codec->pin_amp_workaround = 1;

switch (codec->vendor_id) {
case 0x14f15045:
codec->single_adc_amp = 1;
break;
case 0x14f15051:
add_cx5051_fake_mutes(codec);
codec->pin_amp_workaround = 1;
break;
default:
codec->pin_amp_workaround = 1;
}

apply_pin_fixup(codec, cxt_fixups, cxt_pincfg_tbl);
Expand Down

0 comments on commit 10a4394

Please sign in to comment.