From 2b5a66a2b77d16f98a03e2d0e90f7f5962901f8b Mon Sep 17 00:00:00 2001 From: Mohammad Rafi Shaik Date: Mon, 19 Jan 2026 22:37:16 +0530 Subject: [PATCH] audioreach: monaco-evk: Enable stereo capture on MultiMedia2 frontend The MONACO-EVK capture frontend for MultiMedia2 currently constrains channels to mono (min=1, max=1). This prevents opening the PCM with 2-channel (stereo) configurations and typically leads to: arecord: audio open error: Invalid argument Update the STREAM_SG_PCM_ADD() parameters to allow up to 2 channels (min=1, max=2) for S16_LE at 48 kHz. This aligns the front-end PCM capability with common SoC/codec routes that can support stereo capture, while preserving backward compatibility with mono. Signed-off-by: Mohammad Rafi Shaik --- MONACO-EVK.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MONACO-EVK.m4 b/MONACO-EVK.m4 index 017041e..e50f4b7 100644 --- a/MONACO-EVK.m4 +++ b/MONACO-EVK.m4 @@ -21,7 +21,7 @@ STREAM_SG_PCM_ADD(audioreach/subgraph-stream-vol-playback.m4, FRONTEND_DAI_MULTI dnl dnl Capture MultiMedia2 STREAM_SG_PCM_ADD(audioreach/subgraph-stream-capture.m4, FRONTEND_DAI_MULTIMEDIA2, - `S16_LE', 48000, 48000, 1, 1, + `S16_LE', 48000, 48000, 1, 2, 0x00004003, 0x00004003, 0x00006020, `110000') dnl #