On Thu, Dec 05, 2024 at 09:40:20AM +0100, Krzysztof Kozlowski wrote: > Number of DAIs in the codec is not really a binding, because it could > grow, e.g. when we implement missing features. Add the define to the > driver, which will replace the one in the binding header. This breaks an allmodconfig build: /build/stage/linux/sound/soc/codecs/wcd9335.c:162: error: "NUM_CODEC_DAIS" redef ined [-Werror] 162 | #define NUM_CODEC_DAIS (AIF4_PB + 1) | In file included from /build/stage/linux/sound/soc/codecs/wcd9335.c:28: /build/stage/linux/include/dt-bindings/sound/qcom,wcd9335.h:13: note: this is th e location of the previous definition 13 | #define NUM_CODEC_DAIS 7 |
Attachment:
signature.asc
Description: PGP signature
- Follow-Ups:
- Re: [PATCH 1/2] ASoC: codecs: wcd9335: Add define for number of DAIs
- From: Dzmitry Sankouski
- Re: [PATCH 1/2] ASoC: codecs: wcd9335: Add define for number of DAIs
- From: Krzysztof Kozlowski
- Re: [PATCH 1/2] ASoC: codecs: wcd9335: Add define for number of DAIs
- References:
- [PATCH 1/2] ASoC: codecs: wcd9335: Add define for number of DAIs
- From: Krzysztof Kozlowski
- [PATCH 1/2] ASoC: codecs: wcd9335: Add define for number of DAIs
- Prev by Date: [PATCH 5/5] arm64: dts: mediatek: mt8390-genio-700-evk: Add sound output support
- Next by Date: Re: [PATCH 1/2] ASoC: codecs: wcd9335: Add define for number of DAIs
- Previous by thread: Re: [PATCH 1/2] ASoC: codecs: wcd9335: Add define for number of DAIs
- Next by thread: Re: [PATCH 1/2] ASoC: codecs: wcd9335: Add define for number of DAIs
- Index(es):