diff options
author | Jeeja KP <jeeja.kp@intel.com> | 2016-12-08 13:41:12 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-12-15 12:15:59 +0000 |
commit | 12c3be0e720fe8c4e0f456fd25a6dcc8b254606c (patch) | |
tree | 7517c7ebe236e90bbbb9efde7ec30b3c617e6079 /sound/soc/intel/skylake/skl-topology.c | |
parent | 7d7c80f3f335e5148e3f744534a0576e638cf581 (diff) | |
download | op-kernel-dev-12c3be0e720fe8c4e0f456fd25a6dcc8b254606c.zip op-kernel-dev-12c3be0e720fe8c4e0f456fd25a6dcc8b254606c.tar.gz |
ASoC: Intel: Skylake: Update link_index and format in pipe params
To configure Host/Link DMA, additionally link index and format
are required based on the hw params. So added these parameters in
the pipe params and in hw_params the pipe params are updated.
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake/skl-topology.c')
-rw-r--r-- | sound/soc/intel/skylake/skl-topology.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl-topology.c b/sound/soc/intel/skylake/skl-topology.c index eb440cd..8f608c4 100644 --- a/sound/soc/intel/skylake/skl-topology.c +++ b/sound/soc/intel/skylake/skl-topology.c @@ -1206,6 +1206,7 @@ static void skl_tplg_fill_dma_id(struct skl_module_cfg *mcfg, switch (mcfg->dev_type) { case SKL_DEVICE_HDALINK: pipe->p_params->link_dma_id = params->link_dma_id; + pipe->p_params->link_index = params->link_index; break; case SKL_DEVICE_HDAHOST: @@ -1219,6 +1220,7 @@ static void skl_tplg_fill_dma_id(struct skl_module_cfg *mcfg, pipe->p_params->ch = params->ch; pipe->p_params->s_freq = params->s_freq; pipe->p_params->stream = params->stream; + pipe->p_params->format = params->format; } else { memcpy(pipe->p_params, params, sizeof(*params)); |