From: Christian Vogel Date: Sat, 25 Oct 2014 11:40:41 +0000 (+0200) Subject: ALSA: bebob: Uninitialized id returned by saffirepro_both_clk_src_get X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~38^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1d0b6b668818571122d30d68a0b3f768bd83a52;p=pandora-kernel.git 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 Reviewed-by: Takashi Sakamoto Cc: Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed