Skip to content

Commit b5c818b

Browse files
committed
ASoC: Fix warning related to 'sound-name-prefix' binding
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2186348 commit 013148f Author: Sameer Pujar <spujar@nvidia.com> Date: Tue, 21 Sep 2021 21:11:00 +0530 commit 82d3ec1 ("ASoC: Use schema reference for sound-name-prefix") added name-prefix.yaml schema and the same reference was used in couple of other schemas. But this is causing following warning and the same is fixed in current patch. Documentation/devicetree/bindings/sound/nxp,tfa989x.example.dt.yaml: audio-codec@34: 'sound-name-prefix' does not match any of the regexes: 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml Documentation/devicetree/bindings/sound/nxp,tfa989x.example.dt.yaml: audio-codec@36: 'sound-name-prefix' does not match any of the regexes: 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml Fixes: 82d3ec1 ("ASoC: Use schema reference for sound-name-prefix") Reported-by: Rob Herring <robh+dt@kernel.org> Suggested-by: Rob Herring <robh+dt@kernel.org> Signed-off-by: Sameer Pujar <spujar@nvidia.com> Link: https://lore.kernel.org/r/1632238860-16947-1-git-send-email-spujar@nvidia.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Mark Salter <msalter@redhat.com>
1 parent 1b79ae2 commit b5c818b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ properties:
2424
'#sound-dai-cells':
2525
const: 0
2626

27+
sound-name-prefix: true
28+
2729
vddd-supply:
2830
description: regulator phandle for the VDDD power supply.
2931

Documentation/devicetree/bindings/sound/simple-audio-mux.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ properties:
2424
description: |
2525
GPIOs used to select the input line.
2626
27+
sound-name-prefix: true
28+
2729
required:
2830
- compatible
2931
- mux-gpios

0 commit comments

Comments
 (0)