diff options
author | Zhouyang Jia <jiazhouyang09@gmail.com> | 2018-06-11 10:18:40 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-06-11 15:23:00 +0200 |
commit | 6d531e7b972cb62ded011c2dfcc2d9f72ea6c421 (patch) | |
tree | b0c133c6a2eb2e9255970978a37e9f31dd493472 /sound/pci/hda/patch_conexant.c | |
parent | ALSA: fm801: add error handling for snd_ctl_add (diff) | |
download | linux-6d531e7b972cb62ded011c2dfcc2d9f72ea6c421.tar.xz linux-6d531e7b972cb62ded011c2dfcc2d9f72ea6c421.zip |
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>
Diffstat (limited to 'sound/pci/hda/patch_conexant.c')
0 files changed, 0 insertions, 0 deletions