diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-01-04 13:19:55 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-01-12 08:43:31 +0100 |
commit | f5172a7ed966493414aa58319fbb7ab0a80cf889 (patch) | |
tree | 0e22c823df8271bc93a0f55674c0f350c09bf4b3 /sound/pci/hda/hda_generic.h | |
parent | ALSA: hda - Avoid duplicated path creations (diff) | |
download | linux-f5172a7ed966493414aa58319fbb7ab0a80cf889.tar.xz linux-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_generic.h b/sound/pci/hda/hda_generic.h index 1090a524755b..f1cae2e49377 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 */ |