diff options
author | Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 2023-03-07 16:04:28 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-03-07 17:06:22 +0000 |
commit | 2ae49c6fe060baf432472aba48743e72b8345c52 (patch) | |
tree | 70f7feb9fb440cb782d5f485d115821b93ec5d51 /sound/soc/sof/sof-audio.h | |
parent | be7f4f8d0bee110505750d85e6e11c59f8ceb65f (diff) | |
download | lwn-2ae49c6fe060baf432472aba48743e72b8345c52.tar.gz lwn-2ae49c6fe060baf432472aba48743e72b8345c52.zip |
ASoC: SOF: Intel: hda-dai: Introduce DAI widget ops
Introduce a new ops structure for HDA DAI widget DMA ops and add a new
field to struct snd_sof_dai that will be used to set the ops pointer for
DAI widgets.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20230307140435.2808-8-peter.ujfalusi@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, 2 insertions, 0 deletions
diff --git a/sound/soc/sof/sof-audio.h b/sound/soc/sof/sof-audio.h index e0579af9d281..239b82f37976 100644 --- a/sound/soc/sof/sof-audio.h +++ b/sound/soc/sof/sof-audio.h @@ -502,6 +502,8 @@ struct snd_sof_dai { int number_configs; int current_config; struct list_head list; /* list in sdev dai list */ + /* core should not touch this */ + const void *platform_private; void *private; }; |