|
@@ -114,6 +114,10 @@ int snd_soc_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt);
|
|
|
int snd_soc_dai_set_tdm_slot(struct snd_soc_dai *dai,
|
|
|
unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width);
|
|
|
|
|
|
+int snd_soc_dai_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 snd_soc_dai_set_tristate(struct snd_soc_dai *dai, int tristate);
|
|
|
|
|
|
/* Digital Audio Interface mute */
|
|
@@ -148,6 +152,9 @@ struct snd_soc_dai_ops {
|
|
|
int (*set_tdm_slot)(struct snd_soc_dai *dai,
|
|
|
unsigned int tx_mask, unsigned int rx_mask,
|
|
|
int slots, int slot_width);
|
|
|
+ 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 (*set_tristate)(struct snd_soc_dai *dai, int tristate);
|
|
|
|
|
|
/*
|