HAL: fix for RTC active usecase for ICC and BT HFP
Fixing Active usecase issue in QACT due to 64 bit
audio service changes.
Change-Id: I4b7f34c14500063df763c3fea9300811df9d088a
Suggested-By: Bhargavi Belagod Manjunatha
diff --git a/hal/audio_extn/utils.c b/hal/audio_extn/utils.c
index 23ecf7a..be20e12 100644
--- a/hal/audio_extn/utils.c
+++ b/hal/audio_extn/utils.c
@@ -1050,7 +1050,8 @@
char mixer_ctl_name[MAX_LENGTH_MIXER_CONTROL_IN_INT];
struct mixer_ctl *ctl;
- int app_type_cfg[MAX_LENGTH_MIXER_CONTROL_IN_INT], len = 0, rc = 0;
+ size_t app_type_cfg[MAX_LENGTH_MIXER_CONTROL_IN_INT] = {0};
+ int len = 0, rc = 0;
int snd_device_be_idx = -1;
if (stream_type == PCM_PLAYBACK) {