diff options
author | Matt <matt@embeddedalley.com> | 2005-04-13 08:37:50 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-05-29 04:00:51 -0400 |
commit | 1a12de1edf234b54ce94971d5604f85809c391b9 (patch) | |
tree | 099cd910f5a313f17838e96740b50493ef16877c /sound/pci/hda/hda_generic.c | |
parent | eb8caf30f4c059ddfdfa32b6034549622953db6f (diff) |
[ALSA] hda: fix vref cap and ctl values
HDA Codec driver,HDA generic driver
Fix some vref defines so they are valid for the different bits in
the pin cap and pin control registers. Please apply.
Signed-off-by: Matt <matt@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_generic.c')
-rw-r--r-- | sound/pci/hda/hda_generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c index 69f7b6c4cf83..c233e7f1a74a 100644 --- a/sound/pci/hda/hda_generic.c +++ b/sound/pci/hda/hda_generic.c | |||
@@ -426,7 +426,7 @@ static const char *get_input_type(struct hda_gnode *node, unsigned int *pinctl) | |||
426 | return "Line"; | 426 | return "Line"; |
427 | case AC_JACK_CD: | 427 | case AC_JACK_CD: |
428 | if (pinctl) | 428 | if (pinctl) |
429 | *pinctl |= AC_PIN_VREF_GRD; | 429 | *pinctl |= AC_PINCTL_VREF_GRD; |
430 | return "CD"; | 430 | return "CD"; |
431 | case AC_JACK_AUX: | 431 | case AC_JACK_AUX: |
432 | if ((location & 0x0f) == AC_JACK_LOC_FRONT) | 432 | if ((location & 0x0f) == AC_JACK_LOC_FRONT) |