diff options
author | 2018-06-11 16:04:06 +0800 | |
---|---|---|
committer | 2018-06-11 15:21:19 +0200 | |
commit | ef1ffbe7889e99f5b5cccb41c89e5c94f50f3218 (patch) | |
tree | 8ebec41ad4161420c5af9d03e083ce4d230141c1 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | Merge tag 'asoc-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus (diff) | |
download | wireguard-linux-ef1ffbe7889e99f5b5cccb41c89e5c94f50f3218.tar.xz wireguard-linux-ef1ffbe7889e99f5b5cccb41c89e5c94f50f3218.zip |
ALSA: fm801: 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>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions