Skip to content

Commit

Permalink
ASoC: topology: ABI - Add name element to snd_soc_tplg_stream
Browse files Browse the repository at this point in the history
For codec-codec links, this struct will be mapped to the DAI links's
params, which is struct snd_soc_pcm_stream and it needs a stream name.

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 e8b3fe8 commit 731324f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/uapi/sound/asoc.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ struct snd_soc_tplg_stream_caps {
*/
struct snd_soc_tplg_stream {
__le32 size; /* in bytes of this structure */
char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; /* Name of the stream */
__le64 format; /* SNDRV_PCM_FMTBIT_* */
__le32 rate; /* SNDRV_PCM_RATE_* */
__le32 period_bytes; /* size of period in bytes */
Expand Down

0 comments on commit 731324f

Please sign in to comment.