|
@@ -138,6 +138,11 @@ int snd_soc_dai_set_tristate(struct snd_soc_dai *dai, int tristate);
|
|
|
int snd_soc_dai_digital_mute(struct snd_soc_dai *dai, int mute,
|
|
|
int direction);
|
|
|
|
|
|
+
|
|
|
+int snd_soc_dai_get_channel_map(struct snd_soc_dai *dai,
|
|
|
+ unsigned int *tx_num, unsigned int *tx_slot,
|
|
|
+ unsigned int *rx_num, unsigned int *rx_slot);
|
|
|
+
|
|
|
int snd_soc_dai_is_dummy(struct snd_soc_dai *dai);
|
|
|
|
|
|
struct snd_soc_dai_ops {
|
|
@@ -165,6 +170,9 @@ struct snd_soc_dai_ops {
|
|
|
int (*set_channel_map)(struct snd_soc_dai *dai,
|
|
|
unsigned int tx_num, unsigned int *tx_slot,
|
|
|
unsigned int rx_num, unsigned int *rx_slot);
|
|
|
+ int (*get_channel_map)(struct snd_soc_dai *dai,
|
|
|
+ unsigned int *tx_num, unsigned int *tx_slot,
|
|
|
+ unsigned int *rx_num, unsigned int *rx_slot);
|
|
|
int (*set_tristate)(struct snd_soc_dai *dai, int tristate);
|
|
|
|
|
|
int (*set_sdw_stream)(struct snd_soc_dai *dai,
|