]> 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)
commite162a7439cb787633add9fea6b9e5a7d3d2997d5
treed5151b653bdb990bcfd127792c3ce9a4eefa2e3d
parentf0895cec8b314c806086f7dc4a2843a40ebe8e39
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