aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2016-03-14 03:23:07 -0400
committerTakashi Iwai <tiwai@suse.de>2016-03-14 03:23:07 -0400
commitcdcb61a78f8d4f880a2dc1154ddfb6a05b47c092 (patch)
treefaf9d15b721ab30feeac041e78fada1b17a95c35
parent0ab1ace856205d10cbc1924b2d931c01ffd216a6 (diff)
parent6ef2f68fa38bf415830f67903d87180d933e0f47 (diff)
Merge branch 'for-linus' into for-next
-rw-r--r--sound/pci/hda/patch_conexant.c7
-rw-r--r--sound/pci/hda/patch_hdmi.c4
-rw-r--r--sound/pci/hda/patch_realtek.c1
3 files changed, 11 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index 6122b8ca872f..56fefbd85782 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -204,8 +204,13 @@ static void cx_auto_reboot_notify(struct hda_codec *codec)
204{ 204{
205 struct conexant_spec *spec = codec->spec; 205 struct conexant_spec *spec = codec->spec;
206 206
207 if (codec->core.vendor_id != 0x14f150f2) 207 switch (codec->core.vendor_id) {
208 case 0x14f150f2: /* CX20722 */
209 case 0x14f150f4: /* CX20724 */
210 break;
211 default:
208 return; 212 return;
213 }
209 214
210 /* Turn the CX20722 codec into D3 to avoid spurious noises 215 /* Turn the CX20722 codec into D3 to avoid spurious noises
211 from the internal speaker during (and after) reboot */ 216 from the internal speaker during (and after) reboot */
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c
index eb7da9992aad..4447aa57c42c 100644
--- a/sound/pci/hda/patch_hdmi.c
+++ b/sound/pci/hda/patch_hdmi.c
@@ -2208,6 +2208,10 @@ static void intel_pin_eld_notify(void *audio_ptr, int port)
2208 struct hda_codec *codec = audio_ptr; 2208 struct hda_codec *codec = audio_ptr;
2209 int pin_nid = port + 0x04; 2209 int pin_nid = port + 0x04;
2210 2210
2211 /* we assume only from port-B to port-D */
2212 if (port < 1 || port > 3)
2213 return;
2214
2211 /* skip notification during system suspend (but not in runtime PM); 2215 /* skip notification during system suspend (but not in runtime PM);
2212 * the state will be updated at resume 2216 * the state will be updated at resume
2213 */ 2217 */
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 93d2156b6241..4f5ca0b9ce27 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -5556,6 +5556,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
5556 SND_PCI_QUIRK(0x17aa, 0x2226, "ThinkPad X250", ALC292_FIXUP_TPT440_DOCK), 5556 SND_PCI_QUIRK(0x17aa, 0x2226, "ThinkPad X250", ALC292_FIXUP_TPT440_DOCK),
5557 SND_PCI_QUIRK(0x17aa, 0x2233, "Thinkpad", ALC293_FIXUP_LENOVO_SPK_NOISE), 5557 SND_PCI_QUIRK(0x17aa, 0x2233, "Thinkpad", ALC293_FIXUP_LENOVO_SPK_NOISE),
5558 SND_PCI_QUIRK(0x17aa, 0x30bb, "ThinkCentre AIO", ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY), 5558 SND_PCI_QUIRK(0x17aa, 0x30bb, "ThinkCentre AIO", ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY),
5559 SND_PCI_QUIRK(0x17aa, 0x30e2, "ThinkCentre AIO", ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY),
5559 SND_PCI_QUIRK(0x17aa, 0x3902, "Lenovo E50-80", ALC269_FIXUP_DMIC_THINKPAD_ACPI), 5560 SND_PCI_QUIRK(0x17aa, 0x3902, "Lenovo E50-80", ALC269_FIXUP_DMIC_THINKPAD_ACPI),
5560 SND_PCI_QUIRK(0x17aa, 0x3977, "IdeaPad S210", ALC283_FIXUP_INT_MIC), 5561 SND_PCI_QUIRK(0x17aa, 0x3977, "IdeaPad S210", ALC283_FIXUP_INT_MIC),
5561 SND_PCI_QUIRK(0x17aa, 0x3978, "IdeaPad Y410P", ALC269_FIXUP_NO_SHUTUP), 5562 SND_PCI_QUIRK(0x17aa, 0x3978, "IdeaPad Y410P", ALC269_FIXUP_NO_SHUTUP),