OSDN Git Service

ASoC: SOF: topology: Get HDA rate and channels from topology
authorBard Liao <yung-chuan.liao@linux.intel.com>
Wed, 15 Apr 2020 20:28:14 +0000 (15:28 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 15 Apr 2020 23:23:17 +0000 (00:23 +0100)
commit18aaab64fbb121e5879f74a46903bcfd30bf660b
tree778f9beff075498384a8061232b6219b7b6bf484
parent15bf1831fc91a447e336ef252b48d5f9cad8a3f2
ASoC: SOF: topology: Get HDA rate and channels from topology

FW interface for HDA DAI parameters was extended with information on
sampling rate and channel count in version 3.16. Align kernel header
with the FW change. This change is backwards compatible. Old firmware
will ignore the values.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200415202816.934-23-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sof/dai-intel.h
include/uapi/sound/sof/abi.h
include/uapi/sound/sof/tokens.h
sound/soc/sof/topology.c