mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
asoc: Update wcd937x codec driver controls
Amic2 recording is failing due to missing of mixer controls. Change is to add support of ADC and DMIC control for swr master channel map. Change-Id: I0377ec84a49d2eaa390872a29e2d8cf8909794b1 Signed-off-by: Hari Krishna Chowdary Yennana <quic_hyennnan@quicinc.com>
This commit is contained in:
parent
c0b9e1dcd8
commit
73e13435c9
2 changed files with 13 additions and 1 deletions
|
|
@ -2074,7 +2074,8 @@ const char * const tx_master_ch_text[] = {
|
|||
"ZERO", "SWRM_TX1_CH1", "SWRM_TX1_CH2", "SWRM_TX1_CH3", "SWRM_TX1_CH4",
|
||||
"SWRM_TX2_CH1", "SWRM_TX2_CH2", "SWRM_TX2_CH3", "SWRM_TX2_CH4",
|
||||
"SWRM_TX3_CH1", "SWRM_TX3_CH2", "SWRM_TX3_CH3", "SWRM_TX3_CH4",
|
||||
"SWRM_PCM_IN",
|
||||
"SWRM_PCM_IN", "ADC1", "ADC3", "ADC4", "DMIC0", "DMIC1", "DMIC2",
|
||||
"DMIC4", "DMIC5", "DMIC6", "DMIC7",
|
||||
};
|
||||
|
||||
const struct soc_enum tx_master_ch_enum =
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/* Copyright (c) 2018, 2020 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _WCD937X_H
|
||||
|
|
@ -50,6 +51,16 @@ static int wcd937x_swr_master_ch_map[] = {
|
|||
SWRM_TX3_CH3,
|
||||
SWRM_TX3_CH4,
|
||||
SWRM_PCM_IN,
|
||||
ADC1,
|
||||
ADC3,
|
||||
ADC4,
|
||||
DMIC0,
|
||||
DMIC1,
|
||||
DMIC2,
|
||||
DMIC4,
|
||||
DMIC5,
|
||||
DMIC6,
|
||||
DMIC7,
|
||||
};
|
||||
|
||||
#ifdef CONFIG_SND_SOC_WCD937X
|
||||
|
|
|
|||
Loading…
Reference in a new issue