]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: SOF: Intel: Change DMIC load IPC to fixed length
authorSeppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Wed, 15 Apr 2020 20:28:09 +0000 (15:28 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 15 Apr 2020 23:23:13 +0000 (00:23 +0100)
commit31be5337ace110b6c9a567c05b661fd8168ef8cc
treed5151b653bdb990bcfd127792c3ce9a4eefa2e3d
parent79a4ff94a3fcb76d9650341336f4779f6d48d325
ASoC: SOF: Intel: Change DMIC load IPC to fixed length

This patch changes the flexible array member pdm[] into a fixed
array of four that is the max. number of stereo PDM controllers
in the current Intel platforms. The change simplifies DMIC DAI
load code and aligns the IPC with other DAI types.

The change is compatible with old and new firmware with similar
change. The ABI minor version is increased due to change in
IPC headers.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Link: https://lore.kernel.org/r/20200415202816.934-18-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sof/dai-intel.h
sound/soc/sof/topology.c