Loading
ALSA: hda - Fix possible NULL dereference
Add NULL-check of the return value of snd_kctl_new1() before
accessing it. Also, make a sanity NULL check to snd_BUG_ON()
for debugging only.
Signed-off-by:
Takashi Iwai <tiwai@suse.de>
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Add NULL-check of the return value of snd_kctl_new1() before
accessing it. Also, make a sanity NULL check to snd_BUG_ON()
for debugging only.
Signed-off-by:
Takashi Iwai <tiwai@suse.de>