Merge "misc: qcom: qdsp6v2: initialize wma_config_32"
This commit is contained in:
commit
7275a2b7bb
1 changed files with 3 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
*
|
||||
* Copyright (C) 2008 Google, Inc.
|
||||
* Copyright (C) 2008 HTC Corporation
|
||||
* Copyright (c) 2009-2015, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2009-2016, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This software is licensed under the terms of the GNU General Public
|
||||
* License version 2, as published by the Free Software Foundation, and
|
||||
|
@ -166,6 +166,8 @@ static long audio_compat_ioctl(struct file *file, unsigned int cmd,
|
|||
struct msm_audio_wma_config_v2 *wma_config;
|
||||
struct msm_audio_wma_config_v2_32 wma_config_32;
|
||||
|
||||
memset(&wma_config_32, 0, sizeof(wma_config_32));
|
||||
|
||||
wma_config = (struct msm_audio_wma_config_v2 *)audio->codec_cfg;
|
||||
wma_config_32.format_tag = wma_config->format_tag;
|
||||
wma_config_32.numchannels = wma_config->numchannels;
|
||||
|
|
Loading…
Add table
Reference in a new issue