From: Mengdong Lin Date: Thu, 7 Mar 2013 19:11:05 +0000 (-0500) Subject: ALSA: hda - check NULL pointer when creating SPDIF PCM switch X-Git-Tag: v3.9-rc2~10^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c7a548a70a44269266858f65c3b5fc9c3ace057;p=pandora-kernel.git ALSA: hda - check NULL pointer when creating SPDIF PCM switch If the new control cannot be created, this function will return to avoid snd_hda_ctl_add dereferencing a NULL control pointer. Signed-off-by: Mengdong Lin Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed