OpenCloudOS-Kernel/sound/firewire/bebob
Christian Vogel d1d0b6b668 ALSA: bebob: Uninitialized id returned by saffirepro_both_clk_src_get
snd_bebob_stream_check_internal_clock() may get an id from
saffirepro_both_clk_src_get (via clk_src->get()) that was uninitialized.

a) make logic in saffirepro_both_clk_src_get explicit
b) test if id used in snd_bebob_stream_check_internal_clock matches array size

[fixed missing signed prefix to *_maps[] by tiwai]

Signed-off-by: Christian Vogel <vogelchr@vogel.cx>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2014-10-27 14:09:14 +01:00
..
Makefile ALSA: bebob: Add support for M-Audio usual Firewire series 2014-05-26 14:32:03 +02:00
bebob.c ALSA: bebob: Remove meaningless mutex_unlock() 2014-05-27 17:36:11 +02:00
bebob.h ALSA: bebob: Remove unused function prototype 2014-06-04 14:38:16 +02:00
bebob_command.c ALSA: bebob: Prepare for device specific operations 2014-05-26 14:31:15 +02:00
bebob_focusrite.c ALSA: bebob: Uninitialized id returned by saffirepro_both_clk_src_get 2014-10-27 14:09:14 +01:00
bebob_hwdep.c ALSA: bebob: Add hwdep interface 2014-05-26 14:31:03 +02:00
bebob_maudio.c ALSA: bebob: Correction for return value of special_clk_ctl_put() in error 2014-07-22 17:31:28 +02:00
bebob_midi.c ALSA: fireworks/bebob: Improve indentation 2014-05-27 17:35:38 +02:00
bebob_pcm.c ALSA: bebob: Prepare for device specific operations 2014-05-26 14:31:15 +02:00
bebob_proc.c ALSA: bebob: Prepare for device specific operations 2014-05-26 14:31:15 +02:00
bebob_stream.c ALSA: bebob: Uninitialized id returned by saffirepro_both_clk_src_get 2014-10-27 14:09:14 +01:00
bebob_terratec.c ALSA: bebob: fix wrong decoding of clock information for Terratec PHASE 88 Rack FW 2014-10-27 08:39:11 +01:00
bebob_yamaha.c ALSA: bebob: Add support for Yamaha GO series 2014-05-26 14:31:38 +02:00