commit | 6d531e7b972cb62ded011c2dfcc2d9f72ea6c421 | [log] [tgz] |
---|---|---|
author | Zhouyang Jia <jiazhouyang09@gmail.com> | Mon Jun 11 16:18:40 2018 +0800 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Jun 11 15:23:00 2018 +0200 |
tree | b0c133c6a2eb2e9255970978a37e9f31dd493472 | |
parent | ef1ffbe7889e99f5b5cccb41c89e5c94f50f3218 [diff] |
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>