[alsa-devel] [PATCH] gus: add a check of the status of snd_ctl_add
Takashi Iwai
tiwai at suse.de
Tue Jan 1 09:53:52 CET 2019
On Wed, 26 Dec 2018 02:40:51 +0100,
Kangjie Lu wrote:
>
> snd_ctl_add() could fail, so let's check its status and issue an error
> message if it indeed fails.
>
> Signed-off-by: Kangjie Lu <kjlu at umn.edu>
The function itself prints the error in most of useful cases, so the
extra error here would be superfluous.
thanks,
Takashi
More information about the Alsa-devel
mailing list