]> git.baikalelectronics.ru Git - kernel.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)
commit5bee3fa856d655e4d769e2ee40ce62e7eec44ec0
treed5151b653bdb990bcfd127792c3ce9a4eefa2e3d
parente64634c4bac24233dc833608dbe2aa661aecec1b
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