commit | 4c7a548a70a44269266858f65c3b5fc9c3ace057 | [log] [tgz] |
---|---|---|
author | Mengdong Lin <mengdong.lin@intel.com> | Thu Mar 07 14:11:05 2013 -0500 |
committer | Takashi Iwai <tiwai@suse.de> | Thu Mar 07 09:14:03 2013 +0100 |
tree | 826810f4e37ffe5a315345842a399ad1135b36d6 | |
parent | 25336e8ae2d2fa64c9c4cc2c9c28f641134c9fa9 [diff] |
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 <mengdong.lin@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>