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>
This commit is contained in:
Krzysztof Kozlowski 2024-12-09 10:44:41 +01:00 committed by Mark Brown
parent 5757b31666
commit 76c29db042
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -159,6 +159,8 @@
{"AMIC MUX" #id, "ADC5", "ADC5"}, \
{"AMIC MUX" #id, "ADC6", "ADC6"}
#define NUM_CODEC_DAIS 7
enum {
WCD9335_RX0 = 0,
WCD9335_RX1,