summaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_generic.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-12-20 18:10:51 +0100
committerTakashi Iwai <tiwai@suse.de>2013-01-12 08:34:28 +0100
commit4ac0eefa761f62b07d4b96884cf1acc625d7063f (patch)
tree5ed7be9f16f1a5361ff13c801fca90c7e9c5681b /sound/pci/hda/hda_generic.h
parent708122e8366543d448f7f8f6bc4510cf1c2034ce (diff)
downloadlinux-3.10-4ac0eefa761f62b07d4b96884cf1acc625d7063f.tar.gz
linux-3.10-4ac0eefa761f62b07d4b96884cf1acc625d7063f.tar.bz2
linux-3.10-4ac0eefa761f62b07d4b96884cf1acc625d7063f.zip
ALSA: hda - Define HDA_PARSE_* for snd_hda_parse_nid_path() argument
... instead of numbers. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_generic.h')
-rw-r--r--sound/pci/hda/hda_generic.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_generic.h b/sound/pci/hda/hda_generic.h
index 6365140924a..85d138fc10b 100644
--- a/sound/pci/hda/hda_generic.h
+++ b/sound/pci/hda/hda_generic.h
@@ -180,6 +180,13 @@ int snd_hda_gen_init(struct hda_codec *codec);
struct nid_path *snd_hda_get_nid_path(struct hda_codec *codec,
hda_nid_t from_nid, hda_nid_t to_nid);
+
+enum {
+ HDA_PARSE_NO_AAMIX,
+ HDA_PARSE_ONLY_AAMIX,
+ HDA_PARSE_ALL,
+};
+
bool snd_hda_parse_nid_path(struct hda_codec *codec, hda_nid_t from_nid,
hda_nid_t to_nid, int with_aa_mix,
struct nid_path *path);