audio: Do not hardcode channel mask to stereo
It was introduced in "Enable 4-channel input" change and it breaks
Hotwording. The hotwording feature uses mono input.
Change-Id: I8751e25fe509afa76433bfeea6965616fc593680
diff --git a/audio/hal/audio_hw.c b/audio/hal/audio_hw.c
index 28fdc28..f853a10 100644
--- a/audio/hal/audio_hw.c
+++ b/audio/hal/audio_hw.c
@@ -2697,7 +2697,6 @@
in->source = source;
in->dev = adev;
in->standby = 1;
- config->channel_mask = AUDIO_CHANNEL_INDEX_MASK_2;
in->main_channels = config->channel_mask;
in->requested_rate = config->sample_rate;
if (config->sample_rate != CAPTURE_DEFAULT_SAMPLING_RATE)