diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2024-02-13 12:12:38 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-02-13 13:28:56 +0000 |
commit | 8722d245a73ff32491bff390136367ec223e2906 (patch) | |
tree | 2d17a5ef0bbb53ae8b2c958fd0aaa945ab30d0d7 /sound/soc/ti/Makefile | |
parent | 426476344f01096c7dae6c5413cc8a8d9bbdea29 (diff) | |
download | linux-stable-8722d245a73ff32491bff390136367ec223e2906.tar.gz linux-stable-8722d245a73ff32491bff390136367ec223e2906.tar.bz2 linux-stable-8722d245a73ff32491bff390136367ec223e2906.zip |
ASoC: SOF: ipc4-pcm: fix dma_id for CHAIN_DMA capture
The existing code uses (stream_tag - 1) for the host and link dma id.
This is correct for playback, but for capture this results in an
invalid dma_type being used. The firmware assumes that the dma_id for
capture is always larger than DAI_NUM_HDA_OUT
This patch adds the offset for num_playback_streams, filled on Intel
platforms with the value extracted from the hardware capabilities.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://msgid.link/r/20240213101247.28887-7-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/ti/Makefile')
0 files changed, 0 insertions, 0 deletions