ALSA: hda - Add common pin macros for ALC269 family
authorDavid Henningsson <david.henningsson@canonical.com>
Wed, 3 Sep 2014 08:23:04 +0000 (10:23 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 3 Sep 2014 09:36:00 +0000 (11:36 +0200)
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>
sound/pci/hda/patch_realtek.c

index 81e29171a787223ad6fd63d1b5c620e0006e76e7..c7d65f035e3a3eff49af3c940f920d185f8030d4 100644 (file)
@@ -5009,6 +5009,37 @@ static const struct hda_model_fixup alc269_fixup_models[] = {
        {}
 };
 
+#define ALC255_STANDARD_PINS \
+       {0x18, 0x411111f0}, \
+       {0x19, 0x411111f0}, \
+       {0x1a, 0x411111f0}, \
+       {0x1b, 0x411111f0}, \
+       {0x1e, 0x411111f0}
+
+#define ALC282_STANDARD_PINS \
+       {0x14, 0x90170110}, \
+       {0x18, 0x411111f0}, \
+       {0x1a, 0x411111f0}, \
+       {0x1b, 0x411111f0}, \
+       {0x1e, 0x411111f0}
+
+#define ALC290_STANDARD_PINS \
+       {0x12, 0x99a30130}, \
+       {0x13, 0x40000000}, \
+       {0x16, 0x411111f0}, \
+       {0x17, 0x411111f0}, \
+       {0x19, 0x411111f0}, \
+       {0x1b, 0x411111f0}, \
+       {0x1e, 0x411111f0}
+
+#define ALC292_STANDARD_PINS \
+       {0x14, 0x90170110}, \
+       {0x15, 0x0221401f}, \
+       {0x1a, 0x411111f0}, \
+       {0x1b, 0x411111f0}, \
+       {0x1d, 0x40700001}, \
+       {0x1e, 0x411111f0}
+
 static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = {
        SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL2_MIC_NO_PRESENCE,
                {0x12, 0x40300000},