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)
commit99e14c9d4140e9ed2c8810322a377e2a51b356eb
treeb4089f76f8a0986def788d2c6ab2652530b65918
parent26b9b559ed9ff3bef5642ef731748d28d894705f
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