]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Check the existing path in snd_hda_add_new_path()
authorTakashi Iwai <tiwai@suse.de>
Fri, 4 Jan 2013 12:19:55 +0000 (13:19 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 12 Jan 2013 07:43:31 +0000 (08:43 +0100)
commit360f0f12d22eae75eab136c7fa7d685f9c6288c5
tree0e22c823df8271bc93a0f55674c0f350c09bf4b3
parent43c12fdd43f6daba941c3b529d91f15fd4df1cfa
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>
sound/pci/hda/hda_generic.c
sound/pci/hda/hda_generic.h