Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 342997
b: refs/heads/master
c: 6121b84
h: refs/heads/master
i:
  342995: ea9a49f
v: v3
  • Loading branch information
Lydia Wang authored and Takashi Iwai committed Dec 10, 2012
1 parent 6347e65 commit 5de3cfb
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 43737e0ae97ea87285686ffd07e30c82d897beb5
refs/heads/master: 6121b84af33fcec843a082cb6bc8d39f187faa20
8 changes: 8 additions & 0 deletions trunk/sound/pci/hda/patch_via.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ enum VIA_HDA_CODEC {
VT1812,
VT1802,
VT1705CF,
VT1808,
CODEC_TYPES,
};

Expand Down Expand Up @@ -300,6 +301,8 @@ static enum VIA_HDA_CODEC get_codec_type(struct hda_codec *codec)
codec_type = VT1802;
else if (dev_id == 0x4760)
codec_type = VT1705CF;
else if (dev_id == 0x4761 || dev_id == 0x4762)
codec_type = VT1808;
else
codec_type = UNKNOWN;
return codec_type;
Expand Down Expand Up @@ -1112,6 +1115,7 @@ static void __analog_low_current_mode(struct hda_codec *codec, bool force)
parm = enable ? 0x00 : 0xe0; /* 0x00: 4/40x, 0xe0: 1x */
break;
case VT1705CF:
case VT1808:
verb = 0xf82;
parm = enable ? 0x00 : 0xe0; /* 0x00: 4/40x, 0xe0: 1x */
break;
Expand Down Expand Up @@ -4061,6 +4065,10 @@ static const struct hda_codec_preset snd_hda_preset_via[] = {
.patch = patch_vt2002P},
{ .id = 0x11064760, .name = "VT1705CF",
.patch = patch_vt3476},
{ .id = 0x11064761, .name = "VT1708SCE",
.patch = patch_vt3476},
{ .id = 0x11064762, .name = "VT1808",
.patch = patch_vt3476},
{} /* terminator */
};

Expand Down

0 comments on commit 5de3cfb

Please sign in to comment.