From: Vedang Patel Date: Wed, 30 Sep 2015 09:31:34 +0000 (+0800) Subject: ASoC: topology: ABI - Add name element to snd_soc_tplg_stream X-Git-Tag: KARO-TX6UL-2015-11-03~79^2~7^2~1^2~4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=731324f5cee3caf230427f754701212961fe0bb1;p=karo-tx-linux.git ASoC: topology: ABI - Add name element to snd_soc_tplg_stream 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 Signed-off-by: Mengdong Lin Signed-off-by: Mark Brown --- diff --git a/include/uapi/sound/asoc.h b/include/uapi/sound/asoc.h index 88210a8e450f..218148000187 100644 --- a/include/uapi/sound/asoc.h +++ b/include/uapi/sound/asoc.h @@ -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 */