arm64: dts: qcom: sdm845-enchilada: use 0 as speaker DAI cells
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 30 Jul 2023 20:19:13 +0000 (22:19 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 3 Aug 2023 15:08:46 +0000 (08:08 -0700)
MAX98927 speaker amplifier has only one DAI, so DAI cells can be just 0
(as expected by bindings).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230730201913.70667-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts

index 62fe72f..4005e04 100644 (file)
@@ -39,7 +39,7 @@
        max98927_codec: max98927@3a {
                compatible = "maxim,max98927";
                reg = <0x3a>;
-               #sound-dai-cells = <1>;
+               #sound-dai-cells = <0>;
 
                pinctrl-0 = <&speaker_default>;
                pinctrl-names = "default";
@@ -66,7 +66,7 @@
 
 &speaker_playback_dai {
        codec {
-               sound-dai = <&max98927_codec 0>;
+               sound-dai = <&max98927_codec>;
        };
 };