summaryrefslogtreecommitdiff
path: root/sound/soc/soc-dapm.c
diff options
context:
space:
mode:
authorJaska Uimonen <jaska.uimonen@intel.com>2019-08-09 18:17:14 -0500
committerMark Brown <broonie@kernel.org>2019-08-12 14:01:40 +0100
commitcac974a51ebb955f3be260a9633836e1413c8672 (patch)
tree5625efc47340e2b5932d738000384b6cda1f2f9f /sound/soc/soc-dapm.c
parent9ea08f2a6d27b6a26d33dae5c58e4099672d6bb3 (diff)
ASoC: SOF: topology: use set_get_data in process load
Currently when loading sof process components there's a check if binary control data is associated with it. If found the data is extracted to be part of component loading and initialization. If binary data exceeds the ipc max size, loading fails with error as large message support is only implemented in set_get_data method. So make the process loading use set_get_data to enable large parameters in component initialization. Also refactor the process component loading function as it digs out 3 times almost identical information of related controls. This is redundant, looks ugly and makes it difficult to understand the mechanism. So make a function out of fetching the control data and use it in process loading. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20190809231714.20874-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-dapm.c')
0 files changed, 0 insertions, 0 deletions