]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: gus: add a check of the status of snd_ctl_add
authorKangjie Lu <kjlu@umn.edu>
Wed, 26 Dec 2018 01:40:51 +0000 (19:40 -0600)
committerTakashi Iwai <tiwai@suse.de>
Mon, 7 Jan 2019 10:54:56 +0000 (11:54 +0100)
commitaff9510d9923a1587ceeef9d9ad679cf6a936fcf
tree55baba48be93633566a7b0dbcf920f3ba9a98a93
parent9cbaaf6e4b93410e12b7836350f44e2bd74fb5cd
ALSA: gus: add a check of the status of snd_ctl_add

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@umn.edu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/gus/gus_main.c