diff options
author | Vedang Patel <vedang.patel@intel.com> | 2015-09-30 05:31:34 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-10-02 12:59:48 -0400 |
commit | 731324f5cee3caf230427f754701212961fe0bb1 (patch) | |
tree | 69c08c7c8a099e0dadff969fff7e2e09e66aece8 | |
parent | e8b3fe8f383bbf055cbd69b776fcbbb5ed3befcd (diff) |
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 <vedang.patel@intel.com>
Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | include/uapi/sound/asoc.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 { | |||
217 | */ | 217 | */ |
218 | struct snd_soc_tplg_stream { | 218 | struct snd_soc_tplg_stream { |
219 | __le32 size; /* in bytes of this structure */ | 219 | __le32 size; /* in bytes of this structure */ |
220 | char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; /* Name of the stream */ | ||
220 | __le64 format; /* SNDRV_PCM_FMTBIT_* */ | 221 | __le64 format; /* SNDRV_PCM_FMTBIT_* */ |
221 | __le32 rate; /* SNDRV_PCM_RATE_* */ | 222 | __le32 rate; /* SNDRV_PCM_RATE_* */ |
222 | __le32 period_bytes; /* size of period in bytes */ | 223 | __le32 period_bytes; /* size of period in bytes */ |