ALSA: hda - Don't create empty PCM streams
authorTakashi Iwai <tiwai@suse.de>
Tue, 4 Nov 2008 16:48:39 +0000 (17:48 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 4 Nov 2008 16:48:39 +0000 (17:48 +0100)
commitbfc5c26fb692fa7a196108c3b23d9c747d105c00
tree47d72aebe5208c369e12f70f068503cb9e589a28
parentb91f080f517cf9dd52023c11127a0ca33190e31a
ALSA: hda - Don't create empty PCM streams

Due to the hda-reconfiguration patches, the check of empty stream
is gone, and this results in an error with the codec setup with empty
streams.

This patch adds the check again to avoid the error at probing.

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