]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: compress: Prevent current kernel running with older FW
authorDaniel Baluta <daniel.baluta@nxp.com>
Tue, 12 Jul 2022 14:15:30 +0000 (17:15 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 12 Jul 2022 14:22:08 +0000 (15:22 +0100)
commitf0f3243ae733b70d21e6ec8d10e3aae7fc92c2c7
treec2c50f0f1758f94e289d925cdd389c585e1bb35e
parent96e0e605cfaf910ad6eb9b9275c589131fc06fd8
ASoC: SOF: compress: Prevent current kernel running with older FW

After introducing extended parameters we need to forbid older firmware
versions to run with the current and future kernel versions.

Although in theory the communication protocol will still work the
semantics at application level are undefined. So, prevent this by
disallowing older firmwares to run with newer kernels.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20220712141531.14599-4-daniel.baluta@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/compress.c