Skip to content
Commit beae7717 authored by Aditya Pakki's avatar Aditya Pakki Committed by Takashi Iwai
Browse files

ALSA: sb: fix a missing check of snd_ctl_add



snd_ctl_add() could fail, so let's check its return value and return its
error code upstream upon failure.

Signed-off-by: default avatarAditya Pakki <pakki001@umn.edu>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 02cc53e2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment