Skip to content

Commit 8eef3c2

Browse files
ujfalusibardliao
authored andcommitted
ASoC: SOF: ipc4-topology: Correct the minimum host DMA buffer size
The firmware has changed the minimum host buffer size from 2 periods to 4 periods (1 period is 1ms) which was missed by the kernel side. Adjust the SOF_IPC4_MIN_DMA_BUFFER_SIZE to 4 ms to align with firmware. Link: thesofproject/sof@f0a14a3 Fixes: a2db533 ("ASoC: SOF: ipc4-topology: Do not parse the DMA_BUFFER_SIZE token") Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
1 parent bfdb5f7 commit 8eef3c2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sound/soc/sof/ipc4-topology.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@
7070
#define SOF_IPC4_CHAIN_DMA_NODE_ID 0x7fffffff
7171
#define SOF_IPC4_INVALID_NODE_ID 0xffffffff
7272

73-
/* FW requires minimum 2ms DMA buffer size */
74-
#define SOF_IPC4_MIN_DMA_BUFFER_SIZE 2
73+
/* FW requires minimum 4ms DMA buffer size */
74+
#define SOF_IPC4_MIN_DMA_BUFFER_SIZE 4
7575

7676
/*
7777
* The base of multi-gateways. Multi-gateways addressing starts from

0 commit comments

Comments
 (0)