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

This commit is contained in:
Linux Build Service Account 2017-01-06 04:11:05 -08:00 committed by Gerrit - the friendly Code Review server
commit 3b82d37666

View file

@ -484,7 +484,7 @@ static int msm_qti_pp_set_auxpcm_lb_vol_mixer(struct snd_kcontrol *kcontrol,
static int msm_qti_pp_get_channel_map_mixer(struct snd_kcontrol *kcontrol,
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;
adm_get_multi_ch_map(channel_map, ADM_PATH_PLAYBACK);