Re: [PATCH] gus: add a check of the status of snd_ctl_add
From: Takashi Iwai
Date: Tue Jan 01 2019 - 03:54:16 EST
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@xxxxxxx>
The function itself prints the error in most of useful cases, so the
extra error here would be superfluous.
thanks,
Takashi