summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-04-20 13:45:55 +0200
committerJaroslav Kysela <perex@suse.cz>2005-05-29 10:04:58 +0200
commitd21b37ea134921f807ebdbd19ae3cd00bb8bf2fc (patch)
tree741a393951e7ec2767dec695cb0d9f665f28e287 /sound/pci/hda/hda_codec.h
parentb0c95f514a4057720958c9ea0113229468c94b2b (diff)
downloadop-kernel-dev-d21b37ea134921f807ebdbd19ae3cd00bb8bf2fc.zip
op-kernel-dev-d21b37ea134921f807ebdbd19ae3cd00bb8bf2fc.tar.gz
[ALSA] Fix and cleanup of CM9880 auto-configuration
HDA Codec driver Fix and cleanup of CM9880 automatic PIN configuration. snd_hda_codec_setup_stream() doesn't do anything when NID is 0. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r--sound/pci/hda/hda_codec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index 263f5b6..43fc245 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -259,7 +259,9 @@ enum {
/* configuration default - 32bit */
#define AC_DEFCFG_SEQUENCE (0xf<<0)
#define AC_DEFCFG_DEF_ASSOC (0xf<<4)
+#define AC_DEFCFG_ASSOC_SHIFT 4
#define AC_DEFCFG_MISC (0xf<<8)
+#define AC_DEFCFG_MISC_SHIFT 8
#define AC_DEFCFG_COLOR (0xf<<12)
#define AC_DEFCFG_COLOR_SHIFT 12
#define AC_DEFCFG_CONN_TYPE (0xf<<16)
OpenPOWER on IntegriCloud