diff options
author | Jaikrishna Nemallapudi <jaikrishnax.nemallapudi@intel.com> | 2017-09-18 10:26:44 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-10-09 10:22:40 +0100 |
commit | 5514830dffb2332c034c20db3b264ba1f94de1d8 (patch) | |
tree | 62ee1e8fb7d4ece015de5d1c7b16046933a55315 /sound/soc/intel/skylake/skl-topology.h | |
parent | 0087f2013188d8b332cee2f74fd3c6754a49f620 (diff) | |
download | lwn-5514830dffb2332c034c20db3b264ba1f94de1d8.tar.gz lwn-5514830dffb2332c034c20db3b264ba1f94de1d8.zip |
ASoC: Intel: Skylake: Modify skl_dsp_set_dma_control API arguments
Set dma control ipc can be used to set the M/N divider, enable the clks. It
takes different payload for different configuration. So modify the
skl_dsp_set_dma_control API to take the size and node_id as argument.
Signed-off-by: Jaikrishna Nemallapudi <jaikrishnax.nemallapudi@intel.com>
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Acked-By: Vinod Koul <vinod.koul@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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/intel/skylake/skl-topology.h b/sound/soc/intel/skylake/skl-topology.h index 2717db92036b..e11cc1fc0e43 100644 --- a/sound/soc/intel/skylake/skl-topology.h +++ b/sound/soc/intel/skylake/skl-topology.h @@ -455,8 +455,8 @@ static inline struct skl *get_skl_ctx(struct device *dev) int skl_tplg_be_update_params(struct snd_soc_dai *dai, struct skl_pipe_params *params); -int skl_dsp_set_dma_control(struct skl_sst *ctx, - struct skl_module_cfg *mconfig); +int skl_dsp_set_dma_control(struct skl_sst *ctx, u32 *caps, + u32 caps_size, u32 node_id); void skl_tplg_set_be_dmic_config(struct snd_soc_dai *dai, struct skl_pipe_params *params, int stream); int skl_tplg_init(struct snd_soc_platform *platform, |