Merge "ASoC: soc: msm: initialize buffer to prevent kernel data leakage"

This commit is contained in:
Linux Build Service Account 2016-12-30 06:27:43 -08:00 committed by Gerrit - the friendly Code Review server
commit 7169f0da4c

View file

@ -579,7 +579,7 @@ static int msm_qti_pp_set_sec_auxpcm_lb_vol_mixer(
static int msm_qti_pp_get_channel_map_mixer(struct snd_kcontrol *kcontrol, static int msm_qti_pp_get_channel_map_mixer(struct snd_kcontrol *kcontrol,
struct snd_ctl_elem_value *ucontrol) struct snd_ctl_elem_value *ucontrol)
{ {
char channel_map[PCM_FORMAT_MAX_NUM_CHANNEL]; char channel_map[PCM_FORMAT_MAX_NUM_CHANNEL] = {0};
int i; int i;
adm_get_multi_ch_map(channel_map, ADM_PATH_PLAYBACK); adm_get_multi_ch_map(channel_map, ADM_PATH_PLAYBACK);