linux/sound/firewire/oxfw
Dan Carpenter 0d3aba30b7 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>
2014-12-14 16:04:50 +01:00
..
Makefile ALSA: oxfw: Add hwdep interface 2014-12-10 10:50:00 +01:00
oxfw-command.c ALSA: oxfw: Add support for AV/C stream format command to get/set supported stream formation 2014-12-10 10:47:09 +01:00
oxfw-control.c ALSA: oxfw: Split control functionality to a new file 2014-11-29 20:22:37 +01:00
oxfw-hwdep.c ALSA: oxfw: Add hwdep interface 2014-12-10 10:50:00 +01:00
oxfw-midi.c ALSA: oxfw: Add hwdep interface 2014-12-10 10:50:00 +01:00
oxfw-pcm.c ALSA: oxfw: Add hwdep interface 2014-12-10 10:50:00 +01:00
oxfw-proc.c ALSA: oxfw: Add support AMDTP in-stream 2014-12-10 10:48:59 +01:00
oxfw-stream.c ALSA: oxfw: Add hwdep interface 2014-12-10 10:50:00 +01:00
oxfw.c ALSA: oxfw: fix detect_loud_models() return value 2014-12-14 16:04:50 +01:00
oxfw.h ALSA: oxfw: Add hwdep interface 2014-12-10 10:50:00 +01:00