diff options
author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2020-04-15 22:28:14 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-04-16 01:23:17 +0200 |
commit | 18aaab64fbb121e5879f74a46903bcfd30bf660b (patch) | |
tree | 778f9beff075498384a8061232b6219b7b6bf484 /include/sound/sof | |
parent | ASoC: SOF: topology: fix: parse hda_tokens to &config->hda (diff) | |
download | linux-18aaab64fbb121e5879f74a46903bcfd30bf660b.tar.xz linux-18aaab64fbb121e5879f74a46903bcfd30bf660b.zip |
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>
Diffstat (limited to 'include/sound/sof')
-rw-r--r-- | include/sound/sof/dai-intel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/sof/dai-intel.h b/include/sound/sof/dai-intel.h index 4db906c4a534..896db2243d87 100644 --- a/include/sound/sof/dai-intel.h +++ b/include/sound/sof/dai-intel.h @@ -88,6 +88,8 @@ struct sof_ipc_dai_ssp_params { struct sof_ipc_dai_hda_params { struct sof_ipc_hdr hdr; uint32_t link_dma_ch; + uint32_t rate; + uint32_t channels; } __packed; /* ALH Configuration Request - SOF_IPC_DAI_ALH_CONFIG */ |