diff options
author | Hui Wang <hui.wang@canonical.com> | 2016-09-10 23:26:16 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-09-11 03:31:46 -0400 |
commit | 3f640970a41429f0a076c01270bbd014c9eae61c (patch) | |
tree | 64551505c788caeca117d0b26337bda484107c9d /sound/pci | |
parent | 816f318b2364262a51024096da7ca3b84e78e3b5 (diff) |
ALSA: hda - Fix headset mic detection problem for several Dell laptops
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.
Cc: <stable@vger.kernel.org>
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 575cefd8cc4a..32cbcf8618d0 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -5806,6 +5806,13 @@ static const struct hda_model_fixup alc269_fixup_models[] = { | |||
5806 | {0x14, 0x90170110}, \ | 5806 | {0x14, 0x90170110}, \ |
5807 | {0x15, 0x0221401f} | 5807 | {0x15, 0x0221401f} |
5808 | 5808 | ||
5809 | #define ALC295_STANDARD_PINS \ | ||
5810 | {0x12, 0xb7a60130}, \ | ||
5811 | {0x14, 0x90170110}, \ | ||
5812 | {0x17, 0x21014020}, \ | ||
5813 | {0x18, 0x21a19030}, \ | ||
5814 | {0x21, 0x04211020} | ||
5815 | |||
5809 | #define ALC298_STANDARD_PINS \ | 5816 | #define ALC298_STANDARD_PINS \ |
5810 | {0x12, 0x90a60130}, \ | 5817 | {0x12, 0x90a60130}, \ |
5811 | {0x21, 0x03211020} | 5818 | {0x21, 0x03211020} |
@@ -5911,6 +5918,10 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { | |||
5911 | {0x14, 0x90170120}, | 5918 | {0x14, 0x90170120}, |
5912 | {0x21, 0x02211030}), | 5919 | {0x21, 0x02211030}), |
5913 | SND_HDA_PIN_QUIRK(0x10ec0256, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE, | 5920 | SND_HDA_PIN_QUIRK(0x10ec0256, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE, |
5921 | {0x12, 0xb7a60130}, | ||
5922 | {0x14, 0x90170110}, | ||
5923 | {0x21, 0x02211020}), | ||
5924 | SND_HDA_PIN_QUIRK(0x10ec0256, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE, | ||
5914 | ALC256_STANDARD_PINS), | 5925 | ALC256_STANDARD_PINS), |
5915 | SND_HDA_PIN_QUIRK(0x10ec0280, 0x103c, "HP", ALC280_FIXUP_HP_GPIO4, | 5926 | SND_HDA_PIN_QUIRK(0x10ec0280, 0x103c, "HP", ALC280_FIXUP_HP_GPIO4, |
5916 | {0x12, 0x90a60130}, | 5927 | {0x12, 0x90a60130}, |
@@ -6021,6 +6032,8 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { | |||
6021 | SND_HDA_PIN_QUIRK(0x10ec0293, 0x1028, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE, | 6032 | SND_HDA_PIN_QUIRK(0x10ec0293, 0x1028, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE, |
6022 | ALC292_STANDARD_PINS, | 6033 | ALC292_STANDARD_PINS, |
6023 | {0x13, 0x90a60140}), | 6034 | {0x13, 0x90a60140}), |
6035 | SND_HDA_PIN_QUIRK(0x10ec0295, 0x1028, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE, | ||
6036 | ALC295_STANDARD_PINS), | ||
6024 | SND_HDA_PIN_QUIRK(0x10ec0298, 0x1028, "Dell", ALC298_FIXUP_DELL1_MIC_NO_PRESENCE, | 6037 | SND_HDA_PIN_QUIRK(0x10ec0298, 0x1028, "Dell", ALC298_FIXUP_DELL1_MIC_NO_PRESENCE, |
6025 | ALC298_STANDARD_PINS, | 6038 | ALC298_STANDARD_PINS, |
6026 | {0x17, 0x90170110}), | 6039 | {0x17, 0x90170110}), |