ASoC: SOF: use the sof_ipc_comp reserved bytes for extended data
authorKeyon Jie <yang.jie@linux.intel.com>
Fri, 4 Sep 2020 13:27:33 +0000 (16:27 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 7 Sep 2020 14:16:37 +0000 (15:16 +0100)
commit50b55fd463ce565b768d8bc214dd0280bee8b10d
treef0ff3856f83c8787796d0e72648d8058b676a89a
parent929e427a9c4e59d744fb5d3771b87a741ea3078a
ASoC: SOF: use the sof_ipc_comp reserved bytes for extended data

Use the 32bit reserved member of the struct sof_ipc_comp as the extended
data length, this will help to minimize the ABI change for adding new
extended data to the struct sof_ipc_comp, usually only minor ABI version
bump needed for every update with this new solution.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200904132744.1699575-6-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sof/topology.h