diff options
author | Mengdong Lin | 2013-03-07 14:11:05 -0500 |
---|---|---|
committer | Takashi Iwai | 2013-03-07 09:14:03 +0100 |
commit | 4c7a548a70a44269266858f65c3b5fc9c3ace057 (patch) | |
tree | 826810f4e37ffe5a315345842a399ad1135b36d6 /sound/pci/ac97 | |
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>
Diffstat (limited to 'sound/pci/ac97')
0 files changed, 0 insertions, 0 deletions