]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Don't break the PCM creation loop
authorTakashi Iwai <tiwai@suse.de>
Tue, 20 Jan 2009 17:21:23 +0000 (18:21 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 20 Jan 2009 17:21:23 +0000 (18:21 +0100)
commit471809d7b2f1f4cea5f209d5fbad7394e4b70f86
treedb96b8e26cbc9532ed37e68e48ef9ce1d5457886
parentcd0df3494314057b069bbe18976287f3ff102b6d
ALSA: hda - Don't break the PCM creation loop

Don't break the loop in snd_hda_codec_build_pcms() even if the item
has no substreams.

It's possible that it's an empty item and the next item containing
the valid substreams (e.g. realtek codecs may create the analog
and alt-analog but no digitl streams).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c