ALSA: hda - Clean-up PCM assignments in patch_realtek.c
authorTakashi Iwai <tiwai@suse.de>
Wed, 6 Jul 2011 16:30:08 +0000 (18:30 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 7 Jul 2011 07:35:17 +0000 (09:35 +0200)
commitc2d986b0d21e53453de8751ecbb317148820d065
treec09a22f0064b85c7cd48f3f4a03e29832102799e
parentf970de2555636c563935cdc2abc5684da2adacc4
ALSA: hda - Clean-up PCM assignments in patch_realtek.c

Instead of assigning each default hda_pcm_stream pointers, do NULL-checks
and assign default values in alc_build_pcms().

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