diff options
author | Pierre-Louis Bossart <[email protected]> | 2024-02-13 12:12:38 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-02-13 13:28:56 +0000 |
commit | 8722d245a73ff32491bff390136367ec223e2906 (patch) | |
tree | 2d17a5ef0bbb53ae8b2c958fd0aaa945ab30d0d7 /net/lapb/lapb_out.c | |
parent | 426476344f01096c7dae6c5413cc8a8d9bbdea29 (diff) |
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 <[email protected]>
Reviewed-by: Péter Ujfalusi <[email protected]>
Reviewed-by: Bard Liao <[email protected]>
Signed-off-by: Peter Ujfalusi <[email protected]>
Link: https://msgid.link/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions