diff options
author | David Henningsson <david.henningsson@canonical.com> | 2014-09-03 04:23:04 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-09-03 05:36:00 -0400 |
commit | fea185e28e7c9f37a298f4184580f310e4eefd7b (patch) | |
tree | d56aacba1a6d996355cf870fef65afd8cdf03830 | |
parent | 0279661b640317c31f288d66537d5805d4f18d05 (diff) |
ALSA: hda - Add common pin macros for ALC269 family
This will be used in a later patch to make the pin quirk table shorter.
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 81e29171a787..c7d65f035e3a 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -5009,6 +5009,37 @@ static const struct hda_model_fixup alc269_fixup_models[] = { | |||
5009 | {} | 5009 | {} |
5010 | }; | 5010 | }; |
5011 | 5011 | ||
5012 | #define ALC255_STANDARD_PINS \ | ||
5013 | {0x18, 0x411111f0}, \ | ||
5014 | {0x19, 0x411111f0}, \ | ||
5015 | {0x1a, 0x411111f0}, \ | ||
5016 | {0x1b, 0x411111f0}, \ | ||
5017 | {0x1e, 0x411111f0} | ||
5018 | |||
5019 | #define ALC282_STANDARD_PINS \ | ||
5020 | {0x14, 0x90170110}, \ | ||
5021 | {0x18, 0x411111f0}, \ | ||
5022 | {0x1a, 0x411111f0}, \ | ||
5023 | {0x1b, 0x411111f0}, \ | ||
5024 | {0x1e, 0x411111f0} | ||
5025 | |||
5026 | #define ALC290_STANDARD_PINS \ | ||
5027 | {0x12, 0x99a30130}, \ | ||
5028 | {0x13, 0x40000000}, \ | ||
5029 | {0x16, 0x411111f0}, \ | ||
5030 | {0x17, 0x411111f0}, \ | ||
5031 | {0x19, 0x411111f0}, \ | ||
5032 | {0x1b, 0x411111f0}, \ | ||
5033 | {0x1e, 0x411111f0} | ||
5034 | |||
5035 | #define ALC292_STANDARD_PINS \ | ||
5036 | {0x14, 0x90170110}, \ | ||
5037 | {0x15, 0x0221401f}, \ | ||
5038 | {0x1a, 0x411111f0}, \ | ||
5039 | {0x1b, 0x411111f0}, \ | ||
5040 | {0x1d, 0x40700001}, \ | ||
5041 | {0x1e, 0x411111f0} | ||
5042 | |||
5012 | static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { | 5043 | static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { |
5013 | SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL2_MIC_NO_PRESENCE, | 5044 | SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL2_MIC_NO_PRESENCE, |
5014 | {0x12, 0x40300000}, | 5045 | {0x12, 0x40300000}, |