diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-01-04 12:19:55 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-01-12 07:43:31 (GMT) |
commit | f5172a7ed966493414aa58319fbb7ab0a80cf889 (patch) | |
tree | 0e22c823df8271bc93a0f55674c0f350c09bf4b3 /sound/pci/hda/hda_generic.h | |
parent | 1e0b528696edf20ad38f494dda49c6195bee1b7f (diff) | |
download | linux-fsl-qoriq-f5172a7ed966493414aa58319fbb7ab0a80cf889.tar.xz |
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 1090a52..f1cae2e 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 */ |