Re: [PATCH 1/2] ASoC: codecs: wcd9335: Add define for number of DAIs

From: Krzysztof Kozlowski
Date: Thu Dec 05 2024 - 06:33:53 EST


On 05/12/2024 12:27, Mark Brown wrote:
> On Thu, Dec 05, 2024 at 09:40:20AM +0100, Krzysztof Kozlowski wrote:
>
>> sound/soc/codecs/wcd9335.c | 2 ++
>> 1 file changed, 2 insertions(+)
>
>> +#define NUM_CODEC_DAIS (AIF4_PB + 1)
>
> Several other Qualcomm CODECs appear to use this define?

Each wcd93xx driver has it in the driver, not in the binding. All have
different values. wcd9335 was the first case when this was added to the
binding and I think it was a mistake (including my mistake of not
noticing it during review).

I am not sure if I got your comment or question correctly. I hope above
answers, but in it does not, please provide some context so I will
understand the question.

Best regards,
Krzysztof