diff options
author | Liam Girdwood <liam.r.girdwood@linux.intel.com> | 2018-06-14 21:50:37 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-06-18 13:16:16 +0200 |
commit | c60b613a7097cff20fdd05e2891ce69542f0d5a3 (patch) | |
tree | f4eb4f6583a0b2d3965663e81a73976059daa4bb /sound/soc/intel/skylake/skl-topology.h | |
parent | Linux 4.18-rc1 (diff) | |
download | linux-c60b613a7097cff20fdd05e2891ce69542f0d5a3.tar.xz linux-c60b613a7097cff20fdd05e2891ce69542f0d5a3.zip |
ASoC: topology: Give more data to clients via callbacks
Give topology clients more access to the topology data by passing index,
pcm, link_config and dai_driver to clients. This allows clients to fully
instantiate and track topology objects.
The SOF driver is the first user of these new APIs and needs them to build
component topology driver and FW objects.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake/skl-topology.h')
-rw-r--r-- | sound/soc/intel/skylake/skl-topology.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/intel/skylake/skl-topology.h b/sound/soc/intel/skylake/skl-topology.h index 6d7e0569695f..af198ea0379e 100644 --- a/sound/soc/intel/skylake/skl-topology.h +++ b/sound/soc/intel/skylake/skl-topology.h @@ -512,8 +512,9 @@ int skl_pcm_host_dma_prepare(struct device *dev, int skl_pcm_link_dma_prepare(struct device *dev, struct skl_pipe_params *params); -int skl_dai_load(struct snd_soc_component *cmp, - struct snd_soc_dai_driver *pcm_dai); +int skl_dai_load(struct snd_soc_component *cmp, int index, + struct snd_soc_dai_driver *dai_drv, + struct snd_soc_tplg_pcm *pcm, struct snd_soc_dai *dai); void skl_tplg_add_moduleid_in_bind_params(struct skl *skl, struct snd_soc_dapm_widget *w); #endif |