Skip to content

Commit

Permalink
ASoC: topology: ABI - Add configuration for BE & Codec-Codec DAI Links
Browse files Browse the repository at this point in the history
struct snd_soc_tplg_link_config is defined to configure BE & CC links.

Signed-off-by: Vedang Patel <vedang.patel@intel.com>
Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Vedang Patel authored and Mark Brown committed Oct 2, 2015
1 parent 7c545b3 commit e2a9df6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions include/uapi/sound/asoc.h
Original file line number Diff line number Diff line change
@@ -395,4 +395,21 @@ struct snd_soc_tplg_pcm {
struct snd_soc_tplg_stream_caps caps[2]; /* playback and capture for DAI */
} __attribute__((packed));


/*
* Describes the BE or CC link runtime supported configs or params
*
* File block representation for BE/CC link config :-
* +-----------------------------------+-----+
* | struct snd_soc_tplg_hdr | 1 |
* +-----------------------------------+-----+
* | struct snd_soc_tplg_link_config | N |
* +-----------------------------------+-----+
*/
struct snd_soc_tplg_link_config {
__le32 size; /* in bytes of this structure */
__le32 id; /* unique ID - used to match */
struct snd_soc_tplg_stream stream[SND_SOC_TPLG_STREAM_CONFIG_MAX]; /* supported configs playback and captrure */
__le32 num_streams; /* number of streams */
} __attribute__((packed));
#endif

0 comments on commit e2a9df6

Please sign in to comment.