Re: [PATCH v8 08/13] ASoC: qcom: q6dsp: Add Senary MI2S audio interface support
From: Srinivas Kandagatla
Date: Wed Apr 01 2026 - 13:05:00 EST
On 4/1/26 11:25 AM, Mark Brown wrote:
> On Mon, Mar 30, 2026 at 08:21:00AM +0000, Srinivas Kandagatla wrote:
>> From: Mohammad Rafi Shaik <mohammad.rafi.shaik@xxxxxxxxxxxxxxxx>
>>
>> Introduces support for the Senary MI2S audio interface in the Qualcomm
>> q6dsp. Add new AFE port IDs for Senary MI2S RX and TX and include the
>> necessary mappings in the port configuration to allow audio routing
>> over the Senary MI2S interface.
>
> This breaks the build:
Yep,
[PATCH v8 09/13] ASoC: qcom: common: validate cpu dai id during parsing
re-ordering these two patches, should fix the issue.
Sorry about this, Is it fine if I send this reorder in v9?
--srini
>
> In file included from /build/stage/linux/include/dt-bindings/sound/qcom,q6afe.h:7,
> from /build/stage/linux/sound/soc/qcom/qdsp6/q6afe.c:5:
> /build/stage/linux/include/dt-bindings/sound/qcom,q6dsp-lpass-ports.h:153:33: error: array index in initializer exceeds array bounds
> 153 | #define SENARY_MI2S_RX 147
> | ^~~
> /build/stage/linux/sound/soc/qcom/qdsp6/q6afe.c:723:10: note: in expansion of macro ‘SENARY_MI2S_RX’
> 723 | [SENARY_MI2S_RX] = { AFE_PORT_ID_SENARY_MI2S_RX,
> | ^~~~~~~~~~~~~~
> /build/stage/linux/include/dt-bindings/sound/qcom,q6dsp-lpass-ports.h:153:33: note: (near initialization for ‘port_maps’)
> 153 | #define SENARY_MI2S_RX 147
> | ^~~
> /build/stage/linux/sound/soc/qcom/qdsp6/q6afe.c:723:10: note: in expansion of macro ‘SENARY_MI2S_RX’
> 723 | [SENARY_MI2S_RX] = { AFE_PORT_ID_SENARY_MI2S_RX,
> | ^~~~~~~~~~~~~~
> /build/stage/linux/include/dt-bindings/sound/qcom,q6dsp-lpass-ports.h:154:33: error: array index in initializer exceeds array bounds
> 154 | #define SENARY_MI2S_TX 148
> | ^~~
> /build/stage/linux/sound/soc/qcom/qdsp6/q6afe.c:725:10: note: in expansion of macro ‘SENARY_MI2S_TX’
> 725 | [SENARY_MI2S_TX] = { AFE_PORT_ID_SENARY_MI2S_TX,
> | ^~~~~~~~~~~~~~
> /build/stage/linux/include/dt-bindings/sound/qcom,q6dsp-lpass-ports.h:154:33: note: (near initialization for ‘port_maps’)
> 154 | #define SENARY_MI2S_TX 148
> | ^~~
> /build/stage/linux/sound/soc/qcom/qdsp6/q6afe.c:725:10: note: in expansion of macro ‘SENARY_MI2S_TX’
> 725 | [SENARY_MI2S_TX] = { AFE_PORT_ID_SENARY_MI2S_TX,
> | ^~~~~~~~~~~~~~
>