Zhouyang Jia 6d531e7b97 ALSA: emu10k1: add error handling for snd_ctl_add
When snd_ctl_add fails, the lack of error-handling code may
cause unexpected results.

This patch adds error-handling code after calling snd_ctl_add.

Signed-off-by: Zhouyang Jia <jiazhouyang09@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2018-06-11 15:23:00 +02:00
..
2017-09-04 14:50:49 +02:00
2017-11-13 15:45:57 +01:00
2018-06-05 16:51:55 +02:00
2017-11-13 15:45:57 +01:00
2018-05-31 09:11:03 +02:00