]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: topology: fix the ipc_size calculation for process component
authorKeyon Jie <yang.jie@linux.intel.com>
Tue, 25 Aug 2020 23:50:37 +0000 (16:50 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 26 Aug 2020 12:19:14 +0000 (13:19 +0100)
commit0f5fcffe34e16bf65d680f476a24aaf738a643f4
tree8ce5d6958e079a81d460a26347f4cc2c515504db
parent4f836bf9486ccab603073fb475a81d082f881457
ASoC: SOF: topology: fix the ipc_size calculation for process component

The topology private struct is used for token parsing and its size
should not be included to the ipc_size, fix it here though it didn't
cause any real issue as the Firmware won't use this wrong-added data.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Jaska Uimonen <jaska.uimonen@intel.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20200825235040.1586478-5-ranjani.sridharan@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/topology.c