diff options
| author | Mark Brown <broonie@kernel.org> | 2023-04-05 16:35:09 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2023-04-05 16:35:09 +0100 |
| commit | 99fddc1618ff64cc71bd51dbf83bd13e74778fe0 (patch) | |
| tree | de382d5b183610e2da1e10d13402324aecb3b5ca /include | |
| parent | 72456c24c8357793bacf5e67549db1f8c3fafe11 (diff) | |
| parent | 1ea63f29c27712d6b9c45af67cd71299d849c5e3 (diff) | |
ASoC: clarify Codec2Codec params
Merge series from Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>:
ASoC is supporting Codec2Codec, but its parameter name is
"params" and "num_params" which are very unclear naming.
This patch-set clarifies it by replacing to c2c_params / num_c2c_params.
Diffstat (limited to 'include')
| -rw-r--r-- | include/sound/soc.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 57c5786a625b..3833184c187f 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -684,8 +684,11 @@ struct snd_soc_dai_link { int id; /* optional ID for machine driver link identification */ - const struct snd_soc_pcm_stream *params; - unsigned int num_params; + /* + * for Codec2Codec + */ + const struct snd_soc_pcm_stream *c2c_params; + unsigned int num_c2c_params; unsigned int dai_fmt; /* format to set on init */ @@ -1065,7 +1068,7 @@ struct snd_soc_pcm_runtime { struct snd_soc_dai_link *dai_link; struct snd_pcm_ops ops; - unsigned int params_select; /* currently selected param for dai link */ + unsigned int c2c_params_select; /* currently selected c2c_param for dai link */ /* Dynamic PCM BE runtime data */ struct snd_soc_dpcm_runtime dpcm[SNDRV_PCM_STREAM_LAST + 1]; |
