]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: Strip T and L from TLV IPCs
authorKamil Lulko <kamilx.lulko@intel.com>
Thu, 13 Jun 2019 19:04:36 +0000 (21:04 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 25 Jun 2019 14:33:57 +0000 (15:33 +0100)
commit29d436e83b1b06fbfd1bfcdff8db5f103fb1ac68
tree466919772aff7b905d7546916d34733beb8be9db
parent69c3dca3e9a121f0e46fd6ff8e7c6fdff803e86f
ASoC: Intel: Skylake: Strip T and L from TLV IPCs

cAVS modules do not require Type and Length header within the
set_module_params IPC. This is also true for Vendor modules. The
userspace (like tinymix) always appends this header to TLV controls
which are used for set_module_params. Simply assume this header is
always present in the payload and omit it from the IPC.

Signed-off-by: Kamil Lulko <kamilx.lulko@intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-topology.c