asoc: codecs: Add variant entry support for wcd937x and wcd938x

Add variant entry support for wcd937x and wcd938x codecs to
differentiate between wcd9370/80 and wcd9375/85 variants.

Change-Id: Ife20d14462a0b0968e0458471af3823872592e10
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
This commit is contained in:
Aditya Bavanari
2019-07-08 18:30:19 +05:30
parent f57dd4262b
commit d37e02049c
4 changed files with 116 additions and 2 deletions

View File

@@ -82,6 +82,8 @@ struct wcd937x_priv {
/* Entry for version info */
struct snd_info_entry *entry;
struct snd_info_entry *version_entry;
/*Entry for Variant info*/
struct snd_info_entry *variant_entry;
int ear_rx_path;
int ana_clk_count;
struct mutex ana_tx_clk_lock;