|
@@ -282,7 +282,7 @@ static void alc_update_knob_master(struct hda_codec *codec,
|
|
|
uctl = kzalloc(sizeof(*uctl), GFP_KERNEL);
|
|
|
if (!uctl)
|
|
|
return;
|
|
|
- val = snd_hda_codec_read(codec, jack->tbl->nid, 0,
|
|
|
+ val = snd_hda_codec_read(codec, jack->nid, 0,
|
|
|
AC_VERB_GET_VOLUME_KNOB_CONTROL, 0);
|
|
|
val &= HDA_AMP_VOLMASK;
|
|
|
uctl->value.integer.value[0] = val;
|
|
@@ -1787,7 +1787,6 @@ enum {
|
|
|
ALC882_FIXUP_NO_PRIMARY_HP,
|
|
|
ALC887_FIXUP_ASUS_BASS,
|
|
|
ALC887_FIXUP_BASS_CHMAP,
|
|
|
- ALC882_FIXUP_DISABLE_AAMIX,
|
|
|
};
|
|
|
|
|
|
static void alc889_fixup_coef(struct hda_codec *codec,
|
|
@@ -1949,8 +1948,6 @@ static void alc882_fixup_no_primary_hp(struct hda_codec *codec,
|
|
|
|
|
|
static void alc_fixup_bass_chmap(struct hda_codec *codec,
|
|
|
const struct hda_fixup *fix, int action);
|
|
|
-static void alc_fixup_disable_aamix(struct hda_codec *codec,
|
|
|
- const struct hda_fixup *fix, int action);
|
|
|
|
|
|
static const struct hda_fixup alc882_fixups[] = {
|
|
|
[ALC882_FIXUP_ABIT_AW9D_MAX] = {
|
|
@@ -2188,10 +2185,6 @@ static const struct hda_fixup alc882_fixups[] = {
|
|
|
.type = HDA_FIXUP_FUNC,
|
|
|
.v.func = alc_fixup_bass_chmap,
|
|
|
},
|
|
|
- [ALC882_FIXUP_DISABLE_AAMIX] = {
|
|
|
- .type = HDA_FIXUP_FUNC,
|
|
|
- .v.func = alc_fixup_disable_aamix,
|
|
|
- },
|
|
|
};
|
|
|
|
|
|
static const struct snd_pci_quirk alc882_fixup_tbl[] = {
|
|
@@ -2230,6 +2223,7 @@ static const struct snd_pci_quirk alc882_fixup_tbl[] = {
|
|
|
SND_PCI_QUIRK(0x104d, 0x9047, "Sony Vaio TT", ALC889_FIXUP_VAIO_TT),
|
|
|
SND_PCI_QUIRK(0x104d, 0x905a, "Sony Vaio Z", ALC882_FIXUP_NO_PRIMARY_HP),
|
|
|
SND_PCI_QUIRK(0x104d, 0x9043, "Sony Vaio VGC-LN51JGB", ALC882_FIXUP_NO_PRIMARY_HP),
|
|
|
+ SND_PCI_QUIRK(0x104d, 0x9044, "Sony VAIO AiO", ALC882_FIXUP_NO_PRIMARY_HP),
|
|
|
|
|
|
/* All Apple entries are in codec SSIDs */
|
|
|
SND_PCI_QUIRK(0x106b, 0x00a0, "MacBookPro 3,1", ALC889_FIXUP_MBP_VREF),
|
|
@@ -2259,7 +2253,6 @@ static const struct snd_pci_quirk alc882_fixup_tbl[] = {
|
|
|
SND_PCI_QUIRK(0x1462, 0x7350, "MSI-7350", ALC889_FIXUP_CD),
|
|
|
SND_PCI_QUIRK_VENDOR(0x1462, "MSI", ALC882_FIXUP_GPIO3),
|
|
|
SND_PCI_QUIRK(0x1458, 0xa002, "Gigabyte EP45-DS3/Z87X-UD3H", ALC889_FIXUP_FRONT_HP_NO_PRESENCE),
|
|
|
- SND_PCI_QUIRK(0x1458, 0xa182, "Gigabyte Z170X-UD3", ALC882_FIXUP_DISABLE_AAMIX),
|
|
|
SND_PCI_QUIRK(0x147b, 0x107a, "Abit AW9D-MAX", ALC882_FIXUP_ABIT_AW9D_MAX),
|
|
|
SND_PCI_QUIRK_VENDOR(0x1558, "Clevo laptop", ALC882_FIXUP_EAPD),
|
|
|
SND_PCI_QUIRK(0x161f, 0x2054, "Medion laptop", ALC883_FIXUP_EAPD),
|