diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-12-20 18:10:51 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-01-12 08:34:28 +0100 |
commit | 4ac0eefa761f62b07d4b96884cf1acc625d7063f (patch) | |
tree | 5ed7be9f16f1a5361ff13c801fca90c7e9c5681b /sound/pci/hda/hda_generic.h | |
parent | ALSA: hda - Fix typos in debug_show_configs() (diff) | |
download | linux-4ac0eefa761f62b07d4b96884cf1acc625d7063f.tar.xz linux-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.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_generic.h b/sound/pci/hda/hda_generic.h index 6365140924af..85d138fc10b3 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); |