mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 02:21:16 +00:00
Merge "ASoC: soc: msm: initialize buffer to prevent kernel data leakage"
This commit is contained in:
commit
3b82d37666
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue