Merge "ASoC: soc: msm: initialize buffer to prevent kernel data leakage"
This commit is contained in:
commit
7169f0da4c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue