]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ASoC: dt-bindings: qcom,lpass-rx-macro: correct minItems for clocks
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 30 Mar 2023 07:13:33 +0000 (09:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 May 2023 14:10:55 +0000 (23:10 +0900)
commit 59257015ac8813d2430988aa01c2f4609a60e8e7 upstream.

The RX macro codec comes on some platforms in two variants - ADSP
and ADSP bypassed - thus the clock-names varies from 3 to 5.  The clocks
must vary as well:

  sc7280-idp.dtb: codec@3200000: clocks: [[202, 8], [202, 7], [203]] is too short

Fixes: 852fda58d99a ("ASoC: qcom: dt-bindings: Update bindings for clocks in lpass digital codes")
Cc: <stable@vger.kernel.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230330071333.24308-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/sound/qcom,lpass-rx-macro.yaml

index 79c6f8da1319c816269b713ad8ce90436cd585e7..b0b95689d78b86b18c5c3517b134b900ad9a9c8f 100644 (file)
@@ -30,6 +30,7 @@ properties:
     const: 0
 
   clocks:
+    minItems: 3
     maxItems: 5
 
   clock-names: