ASoC: SOF: add Kconfig option for strict ABI checks
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 30 Apr 2019 23:09:16 +0000 (18:09 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 3 May 2019 05:55:52 +0000 (14:55 +0900)
commit73affae222ec0ffe44d870e0085e55cdbe85d30d
tree539cd85cbaa808a5a785a85ffe019b652052546f
parent0efa3334d65b7f421ba12382dfa58f6ff5bf83c4
ASoC: SOF: add Kconfig option for strict ABI checks

When the kernel is more recent than firmware files, it will always
behave in backwards-compatible ways.

Add optional behavior to check if the kernel is older than the
firmware files, so that the kernel fails early instead of attempting
to use new functionality it does not support.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/Kconfig