]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ASoC: dt-bindings: amlogic,gx-sound-card: drop minItems for audio-widgets
authorNeil Armstrong <neil.armstrong@linaro.org>
Wed, 5 Jun 2024 09:40:51 +0000 (11:40 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 26 Jun 2024 17:35:52 +0000 (18:35 +0100)
Like "audio-routing" drop the minItems: 2 from the "audio-widgets", because
any limit here - lower or upper- is rather meaningless.

This will also fix `dtbs_check` warnings like:
sound: audio-widgets: ['Speaker', '7J4-14 LEFT', 'Speaker', '7J4-11 RIGHT'] is too long

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20240605-topic-amlogic-upstream-bindings-fixes-audio-widgets-v1-1-65bd7cc2e09b@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml

index d4277d342e699ac4ab483f8fedb5e48421e17a33..0ecdaf7190e9f12ac527fb77f6cd30118ae672c3 100644 (file)
@@ -23,7 +23,6 @@ properties:
 
   audio-widgets:
     $ref: /schemas/types.yaml#/definitions/non-unique-string-array
-    minItems: 2
     description: |-
       A list off component DAPM widget. Each entry is a pair of strings,
       the first being the widget type, the second being the widget name