Skip to content

Commit

Permalink
ALSA: hda - Add missing ALC680_* definitions
Browse files Browse the repository at this point in the history
Also update the documentation.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Jun 23, 2010
1 parent d1eb57f commit d4a86d8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Documentation/sound/alsa/HD-Audio-Models.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 9 additions & 1 deletion sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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[] = {
Expand Down

0 comments on commit d4a86d8

Please sign in to comment.