asoc: Add codec entry node for wcd937x to support ADIE RTAC
Add changes to create codec entry node for wcd937x to support ADIE RTC calibration. CRs-Fixed: 2281591 Change-Id: I87f3c94995a8ec0c8c5e056891cb293946683885 Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
997da40118
commit
4ae32fc38e
@@ -72,6 +72,11 @@ struct wcd937x_priv {
|
||||
struct codec_port_info
|
||||
rx_port_mapping[MAX_PORT][MAX_CH_PER_PORT];
|
||||
struct regulator_bulk_data *supplies;
|
||||
|
||||
u32 version;
|
||||
/* Entry for version info */
|
||||
struct snd_info_entry *entry;
|
||||
struct snd_info_entry *version_entry;
|
||||
};
|
||||
|
||||
struct wcd937x_micbias_setting {
|
||||
@@ -126,4 +131,6 @@ extern int wcd937x_mbhc_micb_adjust_voltage(struct snd_soc_codec *codec,
|
||||
extern int wcd937x_get_micb_vout_ctl_val(u32 micb_mv);
|
||||
extern int wcd937x_micbias_control(struct snd_soc_codec *codec, int micb_num,
|
||||
int req, bool is_dapm);
|
||||
extern int wcd937x_info_create_codec_entry(struct snd_info_entry *codec_root,
|
||||
struct snd_soc_codec *codec);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user