commit | e59d8bb574f6d8097e7e14981440dc37425fddc6 | [log] [tgz] |
---|---|---|
author | Pan Bian <bianpan2016@163.com> | Tue Nov 29 07:33:07 2016 +0800 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Nov 29 19:59:57 2016 +0100 |
tree | df64e293f927cd8bb16d7280cf8e1b8071e6b614 | |
parent | c6790c8e770c6a7a5414e42438705ec92b03a790 [diff] |
ALSA: echoaudio: Fix improper return value in function load_asic When the second call to load_asic_generic() fails in function load_asic(), "false" is returned. The real value of "false" is 0, which indicates success in the context. As a result, the execution status and the return value may be inconsistent. This patch fixes the bug. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188761 Signed-off-by: Pan Bian <bianpan2016@163.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>