Skip to content
Commit e59d8bb5 authored by Pan Bian's avatar Pan Bian Committed by Takashi Iwai
Browse files

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: default avatarPan Bian <bianpan2016@163.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent c6790c8e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment