Skip to content

Commit c13cf19

Browse files
superna9999broonie
authored andcommitted
ASoC: dt-bindings: qcom,lpass-va-macro: remove spurious contains in if statement
Remove this spurious "contains" which causes the bindings check of qcom,sm8450-lpass-va-macro compatible to fail with: codec@33f0000: clocks: [[156, 57, 1], [156, 102, 1], [156, 103, 1], [156, 70, 1]] is too long from schema $id: http://devicetree.org/schemas/sound/qcom,lpass-va-macro.yaml# codec@33f0000: clock-names: ['mclk', 'macro', 'dcodec', 'npl'] is too long from schema $id: http://devicetree.org/schemas/sound/qcom,lpass-va-macro.yaml# Seems the double "contains" was considered as valid by the tool but broke the entire if statements. Fixes: f243ef7 ("ASoC: dt-bindings: qcom,lpass-va-macro: Add SM8650 LPASS VA") Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://msgid.link/r/20231219-topic-sm8x50-upstream-va-macro-bindings-fix-v1-1-ae133886f70e@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 1b08e76 commit c13cf19

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,8 @@ allOf:
121121
properties:
122122
compatible:
123123
contains:
124-
contains:
125-
enum:
126-
- qcom,sm8550-lpass-va-macro
124+
enum:
125+
- qcom,sm8550-lpass-va-macro
127126
then:
128127
properties:
129128
clocks:

0 commit comments

Comments
 (0)