]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
ALSA: hda - Add missing ALC680_* definitions
authorTakashi Iwai <tiwai@suse.de>
Wed, 23 Jun 2010 15:51:26 +0000 (17:51 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 23 Jun 2010 15:52:39 +0000 (17:52 +0200)
Also update the documentation.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Documentation/sound/alsa/HD-Audio-Models.txt
sound/pci/hda/patch_realtek.c

index 84e81ad7ba2da9b6037e7f104168e5d7fa1a16dc..03771d7c5dd7c05448a5612d7ee87250ba37bbf9 100644 (file)
@@ -114,6 +114,11 @@ ALC662/663/272
   samsung-nc10 Samsung NC10 mini notebook
   auto         auto-config reading BIOS (default)
 
+ALC680
+======
+  base         Base model (ASUS NX90)
+  auto         auto-config reading BIOS (default)
+
 ALC882/883/885/888/889
 ======================
   3stack-dig   3-jack with SPDIF I/O
index 630e66743e8eb773f308dce480ca9d3d86dfc08f..9b15a46e3ccc33770db285586d2fd42b943523d8 100644 (file)
@@ -256,6 +256,13 @@ enum {
        ALC882_MODEL_LAST,
 };
 
+/* ALC680 models */
+enum {
+       ALC680_BASE,
+       ALC680_AUTO,
+       ALC680_MODEL_LAST,
+};
+
 /* for GPIO Poll */
 #define GPIO_MASK      0x03
 
@@ -18997,7 +19004,8 @@ static void alc680_auto_init(struct hda_codec *codec)
  * configuration and preset
  */
 static const char *alc680_models[ALC680_MODEL_LAST] = {
-       [ALC680_BASE]           = "alc680_base",
+       [ALC680_BASE]           = "base",
+       [ALC680_AUTO]           = "auto",
 };
 
 static struct snd_pci_quirk alc680_cfg_tbl[] = {