ASoC: codecs: wsa883x: add codec dai for each wsa883x

Add new codec dai for each wsa883x, since each WSA is
initialized as a codec and not as aux device.

Change-Id: I023c14faffcd1c1149531040ceae9ed1fe161385
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
This commit is contained in:
Vignesh Kulothungan
2020-02-03 15:33:31 -08:00
committed by Gerrit - the friendly Code Review server
parent 6cdec19289
commit 9ffe8f6f21
2 changed files with 98 additions and 8 deletions

View File

@@ -130,6 +130,9 @@ struct wsa883x_priv {
int num_supplies;
struct regulator_bulk_data *supplies;
unsigned long status_mask;
char *wsa883x_name_prefix;
struct snd_soc_dai_driver *dai_driver;
struct snd_soc_component_driver *driver;
};
#endif /* WSA883X_INTERNAL_H */