Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: dt-bindings: mediatek,mt2701-wm8960: Correctly use additionalProperties

The binding does not reference any other schema, thus should use
"additionalProperties: false" to disallow any undocumented properties.
Correct the code and place this after "required:" block to match
convention expressed in example-schema.yaml.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260325110849.127051-3-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Mark Brown
e0390dc0 3e839947

+2 -2
+2 -2
Documentation/devicetree/bindings/sound/mediatek,mt2701-wm8960.yaml
··· 28 28 $ref: /schemas/types.yaml#/definitions/phandle 29 29 description: The phandle of the WM8960 audio codec. 30 30 31 - unevaluatedProperties: false 32 - 33 31 required: 34 32 - compatible 35 33 - mediatek,platform ··· 35 37 - mediatek,audio-codec 36 38 - pinctrl-names 37 39 - pinctrl-0 40 + 41 + additionalProperties: false 38 42 39 43 examples: 40 44 - |