diff options
author | Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 2022-03-08 08:43:37 -0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-03-09 13:30:02 +0000 |
commit | 7a976552a4f264f777be236c0c83263975512f1a (patch) | |
tree | 6c0a9e8eba2cc8e434cdf216f465ed68ea407d30 /sound/soc/sof/sof-audio.h | |
parent | 73d9cf7ca1210140b9fb17fd79a0e33d1d5b9af8 (diff) | |
download | lwn-7a976552a4f264f777be236c0c83263975512f1a.tar.gz lwn-7a976552a4f264f777be236c0c83263975512f1a.zip |
ASoC: SOF: make struct snd_sof_widget IPC agnostic
Parse the UUID token and save it in the new uuid field in struct
snd_sof_widget. struct sof_ipc_comp_ext is no longer needed. So remove
it too.
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/20220308164344.577647-12-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 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/sof/sof-audio.h b/sound/soc/sof/sof-audio.h index a8eeffc12b24..10330d826d40 100644 --- a/sound/soc/sof/sof-audio.h +++ b/sound/soc/sof/sof-audio.h @@ -110,8 +110,7 @@ struct snd_sof_widget { struct list_head list; /* list in sdev widget list */ struct snd_sof_widget *pipe_widget; - /* extended data for UUID components */ - struct sof_ipc_comp_ext comp_ext; + const guid_t uuid; void *private; /* core does not touch this */ }; |