diff mbox

ALSA: hda - Add pin quirk for Dell XPS 15

Message ID 1403611847-14700-1-git-send-email-david.henningsson@canonical.com (mailing list archive)
State Accepted
Commit 7a52cd79fa2a445f6a57e9122d579883e07214fb
Headers show

Commit Message

David Henningsson June 24, 2014, 12:10 p.m. UTC
Two bug reporters with Dell XPS 15 report that they need to use the
dell-headset-multi model to get the headset mic working.

The two bug reporters have different PCI SSID (1028:05fd and 1028:05fe)
but this pin quirk matches both.

BugLink: https://bugs.launchpad.net/bugs/1331915
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
---
 sound/pci/hda/patch_realtek.c | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

Comments

Takashi Iwai June 24, 2014, 12:17 p.m. UTC | #1
At Tue, 24 Jun 2014 14:10:47 +0200,
David Henningsson wrote:
> 
> Two bug reporters with Dell XPS 15 report that they need to use the
> dell-headset-multi model to get the headset mic working.
> 
> The two bug reporters have different PCI SSID (1028:05fd and 1028:05fe)
> but this pin quirk matches both.
> 
> BugLink: https://bugs.launchpad.net/bugs/1331915
> Signed-off-by: David Henningsson <david.henningsson@canonical.com>

Applied, thanks.


Takashi

> ---
>  sound/pci/hda/patch_realtek.c | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
> 
> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> index f52f096..229a189 100644
> --- a/sound/pci/hda/patch_realtek.c
> +++ b/sound/pci/hda/patch_realtek.c
> @@ -6258,6 +6258,27 @@ static const struct snd_hda_pin_quirk alc662_pin_fixup_tbl[] = {
>  		},
>  		.value = ALC668_FIXUP_AUTO_MUTE,
>  	},
> +	{
> +		.codec = 0x10ec0668,
> +		.subvendor = 0x1028,
> +#ifdef CONFIG_SND_DEBUG_VERBOSE
> +		.name = "Dell XPS 15",
> +#endif
> +		.pins = (const struct hda_pintbl[]) {
> +			{0x12, 0x90a60130},
> +			{0x14, 0x90170110},
> +			{0x15, 0x0321101f},
> +			{0x16, 0x40000000},
> +			{0x18, 0x411111f0},
> +			{0x19, 0x411111f0},
> +			{0x1a, 0x411111f0},
> +			{0x1b, 0x411111f0},
> +			{0x1d, 0x40d6832d},
> +			{0x1e, 0x411111f0},
> +			{0x1f, 0x411111f0},
> +		},
> +		.value = ALC668_FIXUP_AUTO_MUTE,
> +	},
>  	{}
>  };
>  
> -- 
> 1.9.1
>
diff mbox

Patch

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index f52f096..229a189 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -6258,6 +6258,27 @@  static const struct snd_hda_pin_quirk alc662_pin_fixup_tbl[] = {
 		},
 		.value = ALC668_FIXUP_AUTO_MUTE,
 	},
+	{
+		.codec = 0x10ec0668,
+		.subvendor = 0x1028,
+#ifdef CONFIG_SND_DEBUG_VERBOSE
+		.name = "Dell XPS 15",
+#endif
+		.pins = (const struct hda_pintbl[]) {
+			{0x12, 0x90a60130},
+			{0x14, 0x90170110},
+			{0x15, 0x0321101f},
+			{0x16, 0x40000000},
+			{0x18, 0x411111f0},
+			{0x19, 0x411111f0},
+			{0x1a, 0x411111f0},
+			{0x1b, 0x411111f0},
+			{0x1d, 0x40d6832d},
+			{0x1e, 0x411111f0},
+			{0x1f, 0x411111f0},
+		},
+		.value = ALC668_FIXUP_AUTO_MUTE,
+	},
 	{}
 };