Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: codecs: wcd9335: Add define for number of DAIs

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.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20241209094442.38900-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Mark Brown
76c29db0 5757b316

+2
+2
sound/soc/codecs/wcd9335.c
··· 159 159 {"AMIC MUX" #id, "ADC5", "ADC5"}, \ 160 160 {"AMIC MUX" #id, "ADC6", "ADC6"} 161 161 162 + #define NUM_CODEC_DAIS 7 163 + 162 164 enum { 163 165 WCD9335_RX0 = 0, 164 166 WCD9335_RX1,