[Utopic PATCH v2] ALSA: hda - Fix noisy outputs on Dell XPS13 (2015 model)
Hui Wang
hui.wang at canonical.com
Mon Jul 20 02:50:05 UTC 2015
From: Takashi Iwai <tiwai at suse.de>
BugLink: http://bugs.launchpad.net/bugs/1468582
The new Dell XPS13 also requires the similar quirk for fixing the
noisy outputs. (But, as the codec was changed, now the fixup for
Latitude is used instead.)
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=99851
Signed-off-by: Takashi Iwai <tiwai at suse.de>
(backport from commit 82d6d8a4034a7480d582791763c89c328c2a8f0c and
8b99aba70c5f581860736855e211cf981f438ad2)
[This patch merged part of commit 8b99aba7 into the commit 82d6d8a4.
The content of the commit 8b99aba7 is partly dropped, firstly I
dropped the part of adding QUIRK to two Latitude machines, since
these two machines already had MIC_PRESENCE QUIRK in the 3.16,
adding a new QUIRK will overwrite the old one; secondly I dropped
the part of changing power_save_node, since there is no this
feature in the 3.16 yet.]
Signed-off-by: Hui Wang <hui.wang at canonical.com>
---
If this patch is accepted, I will prepare the patch for trusty as well
according to this solution.
sound/pci/hda/patch_realtek.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index a10d51c..8cc749b 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -4317,6 +4317,8 @@ enum {
ALC293_FIXUP_DELL1_MIC_NO_PRESENCE,
ALC292_FIXUP_TPT440_DOCK,
ALC255_FIXUP_DELL_WMI_MIC_MUTE_LED,
+ ALC292_FIXUP_DELL_E7X,
+ ALC292_FIXUP_DISABLE_AAMIX,
};
static const struct hda_fixup alc269_fixups[] = {
@@ -4758,6 +4760,16 @@ static const struct hda_fixup alc269_fixups[] = {
.type = HDA_FIXUP_FUNC,
.v.func = alc_fixup_dell_wmi,
},
+ [ALC292_FIXUP_DISABLE_AAMIX] = {
+ .type = HDA_FIXUP_FUNC,
+ .v.func = alc_fixup_disable_aamix,
+ },
+ [ALC292_FIXUP_DELL_E7X] = {
+ .type = HDA_FIXUP_FUNC,
+ .v.func = alc_fixup_dell_xps13,
+ .chained = true,
+ .chain_id = ALC292_FIXUP_DISABLE_AAMIX
+ },
};
static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -4809,6 +4821,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK(0x1028, 0x063f, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE),
SND_PCI_QUIRK(0x1028, 0x064a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
SND_PCI_QUIRK(0x1028, 0x064b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
+ SND_PCI_QUIRK(0x1028, 0x0665, "Dell XPS 13", ALC292_FIXUP_DELL_E7X),
SND_PCI_QUIRK(0x1028, 0x06c7, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE),
SND_PCI_QUIRK(0x1028, 0x0668, "Dell", ALC255_FIXUP_DELL2_MIC_NO_PRESENCE),
SND_PCI_QUIRK(0x1028, 0x0669, "Dell", ALC255_FIXUP_DELL2_MIC_NO_PRESENCE),
--
1.9.1
More information about the kernel-team
mailing list