diff options
author | Jeeja KP <jeeja.kp@intel.com> | 2015-12-03 20:59:51 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-12-08 20:57:51 +0300 |
commit | b18c458de143d22773e770fc785c521614c24487 (patch) | |
tree | 0542f01357d06e5fc321668c33c123fca06efa84 /sound/soc/intel/skylake/skl-topology.c | |
parent | 6c5768b3aa6f554a719834591ad2c6b4e1291397 (diff) | |
download | linux-b18c458de143d22773e770fc785c521614c24487.tar.xz |
ASoC: Intel: Skylake: Add memory pages to widget data.
A module can require extra memory for processing, like audio
algorithms. The memory for these modules needs to be represented
in base module configuration and passed to DSP on init, so add
the memory pages as a field in widget data
Signed-off-by: Dharageswari.R <dharageswari.r@intel.com>
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl-topology.c b/sound/soc/intel/skylake/skl-topology.c index 32735eff386c..be02214e80db 100644 --- a/sound/soc/intel/skylake/skl-topology.c +++ b/sound/soc/intel/skylake/skl-topology.c @@ -1339,6 +1339,7 @@ static int skl_tplg_widget_load(struct snd_soc_component *cmpnt, mconfig->converter = dfw_config->converter; mconfig->m_type = dfw_config->module_type; mconfig->vbus_id = dfw_config->vbus_id; + mconfig->mem_pages = dfw_config->mem_pages; pipe = skl_tplg_add_pipe(bus->dev, skl, &dfw_config->pipe); if (pipe) |