stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ALSA: hda - remove one pin from ALC292_STANDARD_PINS
@ 2015-07-22  2:33 Hui Wang
  2015-07-22  8:33 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Hui Wang @ 2015-07-22  2:33 UTC (permalink / raw)
  To: tiwai, alsa-devel; +Cc: stable, hui.wang

One more Dell laptop with alc293 codec needs
ALC293_FIXUP_DELL1_MIC_NO_PRESENCE, but the pin 0x1e does not match
the corresponding one in the ALC292_STANDARD_PINS. To use this macro
for this machine, we need to remove pin 0x1e from it.

BugLink: https://bugs.launchpad.net/bugs/1476888
Cc: <stable@vger.kernel.org>
Signed-off-by: Hui Wang <hui.wang@canonical.com>
---
 sound/pci/hda/patch_realtek.c | 26 +++++++++++++++++++-------
 1 file changed, 19 insertions(+), 7 deletions(-)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index caba66b..ee6f13a 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -5430,8 +5430,7 @@ static const struct hda_model_fixup alc269_fixup_models[] = {
 	{0x15, 0x0221401f}, \
 	{0x1a, 0x411111f0}, \
 	{0x1b, 0x411111f0}, \
-	{0x1d, 0x40700001}, \
-	{0x1e, 0x411111f0}
+	{0x1d, 0x40700001}
 
 #define ALC298_STANDARD_PINS \
 	{0x18, 0x411111f0}, \
@@ -5690,35 +5689,48 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = {
 		{0x13, 0x411111f0},
 		{0x16, 0x01014020},
 		{0x18, 0x411111f0},
-		{0x19, 0x01a19030}),
+		{0x19, 0x01a19030},
+		{0x1e, 0x411111f0}),
 	SND_HDA_PIN_QUIRK(0x10ec0292, 0x1028, "Dell", ALC269_FIXUP_DELL2_MIC_NO_PRESENCE,
 		ALC292_STANDARD_PINS,
 		{0x12, 0x90a60140},
 		{0x13, 0x411111f0},
 		{0x16, 0x01014020},
 		{0x18, 0x02a19031},
-		{0x19, 0x01a1903e}),
+		{0x19, 0x01a1903e},
+		{0x1e, 0x411111f0}),
 	SND_HDA_PIN_QUIRK(0x10ec0292, 0x1028, "Dell", ALC269_FIXUP_DELL3_MIC_NO_PRESENCE,
 		ALC292_STANDARD_PINS,
 		{0x12, 0x90a60140},
 		{0x13, 0x411111f0},
 		{0x16, 0x411111f0},
 		{0x18, 0x411111f0},
-		{0x19, 0x411111f0}),
+		{0x19, 0x411111f0},
+		{0x1e, 0x411111f0}),
 	SND_HDA_PIN_QUIRK(0x10ec0293, 0x1028, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE,
 		ALC292_STANDARD_PINS,
 		{0x12, 0x40000000},
 		{0x13, 0x90a60140},
 		{0x16, 0x21014020},
 		{0x18, 0x411111f0},
-		{0x19, 0x21a19030}),
+		{0x19, 0x21a19030},
+		{0x1e, 0x411111f0}),
 	SND_HDA_PIN_QUIRK(0x10ec0293, 0x1028, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE,
 		ALC292_STANDARD_PINS,
 		{0x12, 0x40000000},
 		{0x13, 0x90a60140},
 		{0x16, 0x411111f0},
 		{0x18, 0x411111f0},
-		{0x19, 0x411111f0}),
+		{0x19, 0x411111f0},
+		{0x1e, 0x411111f0}),
+	SND_HDA_PIN_QUIRK(0x10ec0293, 0x1028, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE,
+		ALC292_STANDARD_PINS,
+		{0x12, 0x40000000},
+		{0x13, 0x90a60140},
+		{0x16, 0x21014020},
+		{0x18, 0x411111f0},
+		{0x19, 0x21a19030},
+		{0x1e, 0x411111ff}),
 	SND_HDA_PIN_QUIRK(0x10ec0298, 0x1028, "Dell", ALC298_FIXUP_DELL1_MIC_NO_PRESENCE,
 		ALC298_STANDARD_PINS,
 		{0x12, 0x90a60130},
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ALSA: hda - remove one pin from ALC292_STANDARD_PINS
  2015-07-22  2:33 [PATCH] ALSA: hda - remove one pin from ALC292_STANDARD_PINS Hui Wang
@ 2015-07-22  8:33 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2015-07-22  8:33 UTC (permalink / raw)
  To: Hui Wang; +Cc: alsa-devel, stable

On Wed, 22 Jul 2015 04:33:34 +0200,
Hui Wang wrote:
> 
> One more Dell laptop with alc293 codec needs
> ALC293_FIXUP_DELL1_MIC_NO_PRESENCE, but the pin 0x1e does not match
> the corresponding one in the ALC292_STANDARD_PINS. To use this macro
> for this machine, we need to remove pin 0x1e from it.
> 
> BugLink: https://bugs.launchpad.net/bugs/1476888
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Hui Wang <hui.wang@canonical.com>

Applied, thanks.


Takashi

> ---
>  sound/pci/hda/patch_realtek.c | 26 +++++++++++++++++++-------
>  1 file changed, 19 insertions(+), 7 deletions(-)
> 
> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> index caba66b..ee6f13a 100644
> --- a/sound/pci/hda/patch_realtek.c
> +++ b/sound/pci/hda/patch_realtek.c
> @@ -5430,8 +5430,7 @@ static const struct hda_model_fixup alc269_fixup_models[] = {
>  	{0x15, 0x0221401f}, \
>  	{0x1a, 0x411111f0}, \
>  	{0x1b, 0x411111f0}, \
> -	{0x1d, 0x40700001}, \
> -	{0x1e, 0x411111f0}
> +	{0x1d, 0x40700001}
>  
>  #define ALC298_STANDARD_PINS \
>  	{0x18, 0x411111f0}, \
> @@ -5690,35 +5689,48 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = {
>  		{0x13, 0x411111f0},
>  		{0x16, 0x01014020},
>  		{0x18, 0x411111f0},
> -		{0x19, 0x01a19030}),
> +		{0x19, 0x01a19030},
> +		{0x1e, 0x411111f0}),
>  	SND_HDA_PIN_QUIRK(0x10ec0292, 0x1028, "Dell", ALC269_FIXUP_DELL2_MIC_NO_PRESENCE,
>  		ALC292_STANDARD_PINS,
>  		{0x12, 0x90a60140},
>  		{0x13, 0x411111f0},
>  		{0x16, 0x01014020},
>  		{0x18, 0x02a19031},
> -		{0x19, 0x01a1903e}),
> +		{0x19, 0x01a1903e},
> +		{0x1e, 0x411111f0}),
>  	SND_HDA_PIN_QUIRK(0x10ec0292, 0x1028, "Dell", ALC269_FIXUP_DELL3_MIC_NO_PRESENCE,
>  		ALC292_STANDARD_PINS,
>  		{0x12, 0x90a60140},
>  		{0x13, 0x411111f0},
>  		{0x16, 0x411111f0},
>  		{0x18, 0x411111f0},
> -		{0x19, 0x411111f0}),
> +		{0x19, 0x411111f0},
> +		{0x1e, 0x411111f0}),
>  	SND_HDA_PIN_QUIRK(0x10ec0293, 0x1028, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE,
>  		ALC292_STANDARD_PINS,
>  		{0x12, 0x40000000},
>  		{0x13, 0x90a60140},
>  		{0x16, 0x21014020},
>  		{0x18, 0x411111f0},
> -		{0x19, 0x21a19030}),
> +		{0x19, 0x21a19030},
> +		{0x1e, 0x411111f0}),
>  	SND_HDA_PIN_QUIRK(0x10ec0293, 0x1028, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE,
>  		ALC292_STANDARD_PINS,
>  		{0x12, 0x40000000},
>  		{0x13, 0x90a60140},
>  		{0x16, 0x411111f0},
>  		{0x18, 0x411111f0},
> -		{0x19, 0x411111f0}),
> +		{0x19, 0x411111f0},
> +		{0x1e, 0x411111f0}),
> +	SND_HDA_PIN_QUIRK(0x10ec0293, 0x1028, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE,
> +		ALC292_STANDARD_PINS,
> +		{0x12, 0x40000000},
> +		{0x13, 0x90a60140},
> +		{0x16, 0x21014020},
> +		{0x18, 0x411111f0},
> +		{0x19, 0x21a19030},
> +		{0x1e, 0x411111ff}),
>  	SND_HDA_PIN_QUIRK(0x10ec0298, 0x1028, "Dell", ALC298_FIXUP_DELL1_MIC_NO_PRESENCE,
>  		ALC298_STANDARD_PINS,
>  		{0x12, 0x90a60130},
> -- 
> 1.9.1
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-22  8:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-22  2:33 [PATCH] ALSA: hda - remove one pin from ALC292_STANDARD_PINS Hui Wang
2015-07-22  8:33 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).