mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
asoc: sm6150: Initialize variable in msm_init_aux_dev
Initialize codec_max_aux_devs variable in msm_init_aux_dev function to avoid uninitialized variable usage. CRs-Fixed: 2357928 Change-Id: I4806f68dfaa9ea22c244fd6b102d8f0eed5abe0c Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
This commit is contained in:
parent
ec279c7504
commit
32b3e5e2d6
1 changed files with 1 additions and 1 deletions
|
|
@ -8063,7 +8063,7 @@ static int msm_init_aux_dev(struct platform_device *pdev,
|
|||
struct device_node *aux_codec_of_node;
|
||||
u32 wsa_max_devs;
|
||||
u32 wsa_dev_cnt;
|
||||
u32 codec_max_aux_devs;
|
||||
u32 codec_max_aux_devs = 0;
|
||||
u32 codec_aux_dev_cnt = 0;
|
||||
int i;
|
||||
struct msm_wsa881x_dev_info *wsa881x_dev_info = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue