Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1496218

[PATCH 4.8 09/10] ALSA: hda - Fix headset mic detection problem for several Dell laptops

From Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject [PATCH 4.8 09/10] ALSA: hda - Fix headset mic detection problem for several Dell laptops
Date 2016-10-06 10:30 +0200
Message-ID <spcdX-60e-9@gated-at.bofh.it> (permalink)
References <spc4h-5WO-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


4.8-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Hui Wang <hui.wang@canonical.com>

commit 3f640970a41429f0a076c01270bbd014c9eae61c upstream.

One of the laptops has the codec ALC256 on it, applying the
ALC255_FIXUP_DELL1_MIC_NO_PRESENCE can fix the problem, the rest
of laptops have the codec ALC295 on them, they are similar to machines
with ALC225, applying the ALC269_FIXUP_DELL1_MIC_NO_PRESENCE can fix
the problem.

Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 sound/pci/hda/patch_realtek.c |   13 +++++++++++++
 1 file changed, 13 insertions(+)

--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -5806,6 +5806,13 @@ static const struct hda_model_fixup alc2
 	{0x14, 0x90170110}, \
 	{0x15, 0x0221401f}
 
+#define ALC295_STANDARD_PINS \
+	{0x12, 0xb7a60130}, \
+	{0x14, 0x90170110}, \
+	{0x17, 0x21014020}, \
+	{0x18, 0x21a19030}, \
+	{0x21, 0x04211020}
+
 #define ALC298_STANDARD_PINS \
 	{0x12, 0x90a60130}, \
 	{0x21, 0x03211020}
@@ -5915,6 +5922,10 @@ static const struct snd_hda_pin_quirk al
 		{0x14, 0x90170120},
 		{0x21, 0x02211030}),
 	SND_HDA_PIN_QUIRK(0x10ec0256, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
+		{0x12, 0xb7a60130},
+		{0x14, 0x90170110},
+		{0x21, 0x02211020}),
+	SND_HDA_PIN_QUIRK(0x10ec0256, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
 		ALC256_STANDARD_PINS),
 	SND_HDA_PIN_QUIRK(0x10ec0280, 0x103c, "HP", ALC280_FIXUP_HP_GPIO4,
 		{0x12, 0x90a60130},
@@ -6025,6 +6036,8 @@ static const struct snd_hda_pin_quirk al
 	SND_HDA_PIN_QUIRK(0x10ec0293, 0x1028, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE,
 		ALC292_STANDARD_PINS,
 		{0x13, 0x90a60140}),
+	SND_HDA_PIN_QUIRK(0x10ec0295, 0x1028, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE,
+		ALC295_STANDARD_PINS),
 	SND_HDA_PIN_QUIRK(0x10ec0298, 0x1028, "Dell", ALC298_FIXUP_DELL1_MIC_NO_PRESENCE,
 		ALC298_STANDARD_PINS,
 		{0x17, 0x90170110}),

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 4.8 00/10] 4.8.1-stable review Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-10-06 10:20 +0200
  [PATCH 4.8 07/10] Revert "usbtmc: convert to devm_kzalloc" Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-10-06 10:20 +0200
  [PATCH 4.8 03/10] usb: misc: legousbtower: Fix NULL pointer deference Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-10-06 10:20 +0200
  [PATCH 4.8 08/10] ALSA: hda - Adding one more ALC255 pin definition for headset problem Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-10-06 10:20 +0200
  [PATCH 4.8 05/10] usb: usbip: vudc: fix left shift overflow Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-10-06 10:20 +0200
  [PATCH 4.8 04/10] Staging: fbtft: Fix bug in fbtft-core Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-10-06 10:20 +0200
  [PATCH 4.8 09/10] ALSA: hda - Fix headset mic detection problem for several Dell laptops Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-10-06 10:30 +0200
  Re: [PATCH 4.8 00/10] 4.8.1-stable review Guenter Roeck <linux@roeck-us.net> - 2016-10-06 21:00 +0200
    Re: [PATCH 4.8 00/10] 4.8.1-stable review Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-10-07 06:10 +0200
  Re: [PATCH 4.8 00/10] 4.8.1-stable review Shuah Khan <shuah.kh@samsung.com> - 2016-10-06 22:00 +0200
    Re: [PATCH 4.8 00/10] 4.8.1-stable review Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-10-07 06:10 +0200
  Re: [PATCH 4.8 00/10] 4.8.1-stable review Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-10-08 16:10 +0200
    Re: [PATCH 4.8 00/10] 4.8.1-stable review Kevin Hilman <khilman@baylibre.com> - 2016-10-08 18:20 +0200
      Re: [PATCH 4.8 00/10] 4.8.1-stable review Guenter Roeck <linux@roeck-us.net> - 2016-10-08 19:30 +0200
        Re: [PATCH 4.8 00/10] 4.8.1-stable review Mark Brown <broonie@kernel.org> - 2016-10-10 11:40 +0200
          Re: [PATCH 4.8 00/10] 4.8.1-stable review Guenter Roeck <linux@roeck-us.net> - 2016-10-10 15:00 +0200
            Re: [PATCH 4.8 00/10] 4.8.1-stable review Mark Brown <broonie@kernel.org> - 2016-10-10 21:20 +0200
              Re: [PATCH 4.8 00/10] 4.8.1-stable review Guenter Roeck <linux@roeck-us.net> - 2016-10-10 21:50 +0200
                Re: [PATCH 4.8 00/10] 4.8.1-stable review Mark Brown <broonie@kernel.org> - 2016-10-11 09:30 +0200
                Re: [PATCH 4.8 00/10] 4.8.1-stable review Mark Brown <broonie@kernel.org> - 2016-10-11 12:30 +0200
                Re: [PATCH 4.8 00/10] 4.8.1-stable review Guenter Roeck <linux@roeck-us.net> - 2016-10-11 15:50 +0200

csiph-web