commit | 0d3aba30b755fe9ccaf390f0e71f6fb9fd55bd87 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Dec 12 22:28:10 2014 +0300 |
committer | Takashi Iwai <tiwai@suse.de> | Sun Dec 14 16:04:50 2014 +0100 |
tree | d876b22571cf2dfa00d67a2a40af55e69888dfa2 | |
parent | 6e1d7a51392f06899bd7b693f28ac60fa1e00032 [diff] |
ALSA: oxfw: fix detect_loud_models() return value This code causes a static checker warning: sound/firewire/oxfw/oxfw.c:46 detect_loud_models() warn: signedness bug returning '(-2)' The detect_loud_models() function should return false on falure, so that we don't try to set up the loud code for hardware that doesn't support it. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>