]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Terminate the recursive connection search properly
authorTakashi Iwai <tiwai@suse.de>
Tue, 13 Sep 2011 08:33:16 +0000 (10:33 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Sep 2011 08:33:16 +0000 (10:33 +0200)
commite5608bf76a524cf1125c3f167339a233ea61f271
treeb4089f76f8a0986def788d2c6ab2652530b65918
parente29bf8548671b9bf10ec3a1af81af15f04d5315d
ALSA: hda - Terminate the recursive connection search properly

The recursive search of widget connections in snd_hda_get_conn_index()
must be terminated at the pin and the audio-out widgets.  Otherwise
you'll get "too deep connection" warnings unnecessarily.

Reported-by: Francis Moreau <francis.moro@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c