diff mbox series

[linux-oem,v2,2/4] Revert "UBUNTU: SAUCE: ALSA: hda/realtek - Add support headset mode for DELL WYSE"

Message ID 20180308083231.8180-3-jesse.sung@canonical.com
State New
Headers show
Series [linux-oem,v2,1/4] drm/i915/glk, cnl: Implement WaDisableScalarClockGating | expand

Commit Message

Wen-chien Jesse Sung March 8, 2018, 8:32 a.m. UTC
This reverts commit ce30ef771146fbc79b893ce936bd24cb3b33b70e.

Signed-off-by: Wen-chien Jesse Sung <jesse.sung@canonical.com>
---
 sound/pci/hda/patch_realtek.c | 13 -------------
 1 file changed, 13 deletions(-)

Comments

Aaron Ma March 8, 2018, 9:10 a.m. UTC | #1
On 2018年03月08日 16:32, Wen-chien Jesse Sung wrote:
> This reverts commit ce30ef771146fbc79b893ce936bd24cb3b33b70e.
> 

Could you add some comments to explain why this commit should be reverts.
Like V2 changlog.


> Signed-off-by: Wen-chien Jesse Sung <jesse.sung@canonical.com>
> ---
>  sound/pci/hda/patch_realtek.c | 13 -------------
>  1 file changed, 13 deletions(-)
> 
> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> index 7ac9c2a4c2f8..f39027698738 100644
> --- a/sound/pci/hda/patch_realtek.c
> +++ b/sound/pci/hda/patch_realtek.c
> @@ -5309,7 +5309,6 @@ enum {
>  	ALC233_FIXUP_EAPD_COEF_AND_MIC_NO_PRESENCE,
>  	ALC233_FIXUP_LENOVO_MULTI_CODECS,
>  	ALC294_FIXUP_LENOVO_MIC_LOCATION,
> -	ALC225_FIXUP_DELL_WYSE_MIC_NO_PRESENCE,
>  	ALC274_FIXUP_DELL_BIND_DACS,
>  	ALC274_FIXUP_DELL_AIO_LINEOUT_VERB,
>  };
> @@ -6107,17 +6106,6 @@ static const struct hda_fixup alc269_fixups[] = {
>  			{ }
>  		},
>  	},
> -	[ALC225_FIXUP_DELL_WYSE_MIC_NO_PRESENCE] = {
> -		.type = HDA_FIXUP_PINS,
> -		.v.pins = (const struct hda_pintbl[]) {
> -			{ 0x16, 0x0101102f }, /* Rear Headset HP */
> -			{ 0x19, 0x02a1913c }, /* use as Front headset mic, without its own jack detect */
> -			{ 0x1a, 0x01a19030 }, /* Rear Headset MIC */
> -			{ }
> -		},
> -		.chained = true,
> -		.chain_id = ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC
> -	},
>  	[ALC274_FIXUP_DELL_BIND_DACS] = {
>  		.type = HDA_FIXUP_FUNC,
>  		.v.func = alc274_fixup_bind_dacs,
> @@ -6182,7 +6170,6 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
>  	SND_PCI_QUIRK(0x1028, 0x075b, "Dell XPS 13 9360", ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE),
>  	SND_PCI_QUIRK(0x1028, 0x075d, "Dell AIO", ALC298_FIXUP_SPK_VOLUME),
>  	SND_PCI_QUIRK(0x1028, 0x0798, "Dell Inspiron 17 7000 Gaming", ALC256_FIXUP_DELL_INSPIRON_7559_SUBWOOFER),
> -	SND_PCI_QUIRK(0x1028, 0x080c, "Dell WYSE", ALC225_FIXUP_DELL_WYSE_MIC_NO_PRESENCE),
>  	SND_PCI_QUIRK(0x1028, 0x164a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
>  	SND_PCI_QUIRK(0x1028, 0x164b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
>  	SND_PCI_QUIRK(0x103c, 0x1586, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC2),
> -- 2.14.1
> -- kernel-team mailing list kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
>
diff mbox series

Patch

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 7ac9c2a4c2f8..f39027698738 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -5309,7 +5309,6 @@  enum {
 	ALC233_FIXUP_EAPD_COEF_AND_MIC_NO_PRESENCE,
 	ALC233_FIXUP_LENOVO_MULTI_CODECS,
 	ALC294_FIXUP_LENOVO_MIC_LOCATION,
-	ALC225_FIXUP_DELL_WYSE_MIC_NO_PRESENCE,
 	ALC274_FIXUP_DELL_BIND_DACS,
 	ALC274_FIXUP_DELL_AIO_LINEOUT_VERB,
 };
@@ -6107,17 +6106,6 @@  static const struct hda_fixup alc269_fixups[] = {
 			{ }
 		},
 	},
-	[ALC225_FIXUP_DELL_WYSE_MIC_NO_PRESENCE] = {
-		.type = HDA_FIXUP_PINS,
-		.v.pins = (const struct hda_pintbl[]) {
-			{ 0x16, 0x0101102f }, /* Rear Headset HP */
-			{ 0x19, 0x02a1913c }, /* use as Front headset mic, without its own jack detect */
-			{ 0x1a, 0x01a19030 }, /* Rear Headset MIC */
-			{ }
-		},
-		.chained = true,
-		.chain_id = ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC
-	},
 	[ALC274_FIXUP_DELL_BIND_DACS] = {
 		.type = HDA_FIXUP_FUNC,
 		.v.func = alc274_fixup_bind_dacs,
@@ -6182,7 +6170,6 @@  static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x1028, 0x075b, "Dell XPS 13 9360", ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE),
 	SND_PCI_QUIRK(0x1028, 0x075d, "Dell AIO", ALC298_FIXUP_SPK_VOLUME),
 	SND_PCI_QUIRK(0x1028, 0x0798, "Dell Inspiron 17 7000 Gaming", ALC256_FIXUP_DELL_INSPIRON_7559_SUBWOOFER),
-	SND_PCI_QUIRK(0x1028, 0x080c, "Dell WYSE", ALC225_FIXUP_DELL_WYSE_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x1028, 0x164a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x1028, 0x164b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x103c, 0x1586, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC2),