Unverified Commit 555e6f57 authored by Nícolas F. R. A. Prado's avatar Nícolas F. R. A. Prado Committed by Mark Brown
Browse files

ASoC: dt-bindings: mt8192-mt6359: Set maxItems, not type, for sound-dai



sound-dai is a standard property whose type is already set to
phandle-array by sound-dai.yaml, so there's no need to set it (and
wrongly so for headset-codec) in this binding. What should be set
however is the maximum number of items, which for headset-codec should
be 1.

Signed-off-by: default avatarNícolas F. R. A. Prado <nfraprado@collabora.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20221024230658.1772907-1-nfraprado@collabora.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2cfcc108
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ properties:

    properties:
      sound-dai:
        $ref: /schemas/types.yaml#/definitions/phandle
        maxItems: 1
    required:
      - sound-dai

@@ -48,7 +48,6 @@ properties:
        maxItems: 2
        items:
          maxItems: 1
        $ref: /schemas/types.yaml#/definitions/phandle-array
    required:
      - sound-dai