]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: make sof_ipc_cc_version to fixed length
authorPan Xiuli <xiuli.pan@linux.intel.com>
Wed, 15 Apr 2020 20:28:06 +0000 (15:28 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 15 Apr 2020 23:23:10 +0000 (00:23 +0100)
commitcd8099c1b38bd5112d59871a619c96d6f015c2e5
tree9fc77d1f8893b462632f9b8c65668da29fcfa646
parent126e6ac8f1121c88d98eb8665fc126ba6b97fea7
ASoC: SOF: make sof_ipc_cc_version to fixed length

Align struct sof_ipc_cc_version to firmware definition in SOF ABI 3.15.0.

The struct definition was changed due to errors in FW build.
The Cadence XCC compiler produces incorrect linkage section sizes, when a
variable length array is used in the compiler version struct. The firmware
definition was changed to a fixed 32 byte compiler description string.
This length covers all released firmware binaries and thus only a minor
ABI change is needed.

As the same structure is used in IPC messages between driver and firmware,
the kernel needs to be aligned to firmware change.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200415202816.934-15-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sof/info.h
include/uapi/sound/sof/abi.h