summaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_generic.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-01-04 13:19:55 +0100
committerTakashi Iwai <tiwai@suse.de>2013-01-12 08:43:31 +0100
commitf5172a7ed966493414aa58319fbb7ab0a80cf889 (patch)
tree0e22c823df8271bc93a0f55674c0f350c09bf4b3 /sound/pci/hda/hda_generic.h
parent1e0b528696edf20ad38f494dda49c6195bee1b7f (diff)
downloadlinux-3.10-f5172a7ed966493414aa58319fbb7ab0a80cf889.tar.gz
linux-3.10-f5172a7ed966493414aa58319fbb7ab0a80cf889.tar.bz2
linux-3.10-f5172a7ed966493414aa58319fbb7ab0a80cf889.zip
ALSA: hda - Check the existing path in snd_hda_add_new_path()
If the requested path has been already added, return the existing path instance instead of adding a duplicated instance. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_generic.h b/sound/pci/hda/hda_generic.h
index 1090a524755..f1cae2e4937 100644
--- a/sound/pci/hda/hda_generic.h
+++ b/sound/pci/hda/hda_generic.h
@@ -53,6 +53,7 @@ struct nid_path {
unsigned char multi[MAX_NID_PATH_DEPTH];
unsigned int ctls[NID_PATH_NUM_CTLS]; /* NID_PATH_XXX_CTL */
bool active;
+ bool with_aa_mix;
};
/* mic/line-in auto switching entry */