diff options
author | Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 2022-03-07 10:11:03 -0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-03-08 12:27:49 +0000 |
commit | 40bdb2fd6b151e34fdf841238627dd0cfa960093 (patch) | |
tree | 43e1ce6240ecdec624a9b0f58705a94f01871387 /sound/soc/sof/sof-audio.h | |
parent | ea7e5ee67fb71d92b0eb0be8467fd34b0e2def6c (diff) | |
download | linux-40bdb2fd6b151e34fdf841238627dd0cfa960093.tar.bz2 |
ASoC: SOF: change comp_dai to a pointer in struct snd_sof_dai
This will avoid having to add the extended data for DAI components during
sof_widget_setup() as an extra step.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220307181111.49392-11-ranjani.sridharan@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/sof-audio.h')
-rw-r--r-- | sound/soc/sof/sof-audio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sof/sof-audio.h b/sound/soc/sof/sof-audio.h index feda5793b589..a8eeffc12b24 100644 --- a/sound/soc/sof/sof-audio.h +++ b/sound/soc/sof/sof-audio.h @@ -134,7 +134,7 @@ struct snd_sof_dai { struct snd_soc_component *scomp; const char *name; - struct sof_ipc_comp_dai comp_dai; + struct sof_ipc_comp_dai *comp_dai; int number_configs; int current_config; bool configured; /* DAI configured during BE hw_params */ |