Merge "asoc: Add codec entry node for wcd937x to support ADIE RTAC"

Cette révision appartient à :
Linux Build Service Account
2018-09-02 23:12:18 -07:00
révisé par Gerrit - the friendly Code Review server
révision b764c33cef
3 fichiers modifiés avec 143 ajouts et 12 suppressions

Voir le fichier

@@ -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 {
@@ -128,4 +133,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