Skip to content

Commit 17d8adc

Browse files
miquelraynalbroonie
authored andcommitted
ASoC: dt-bindings: davinci-mcasp: Fix interrupts property
My understanding of the interrupts property is that it can either be: 1/ - TX 2/ - TX - RX 3/ - Common/combined. There are very little chances that either: - TX - Common/combined or even - TX - RX - Common/combined could be a thing. Looking at the interrupt-names definition (which uses oneOf instead of anyOf), it makes indeed little sense to use anyOf in the interrupts definition. I believe this is just a mistake, hence let's fix it. Fixes: 8be9064 ("ASoC: dt-bindings: davinci-mcasp: convert McASP bindings to yaml schema") Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://patch.msgid.link/20241001204749.390054-1-miquel.raynal@bootlin.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent aafbb9a commit 17d8adc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Documentation/devicetree/bindings/sound/davinci-mcasp-audio.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ properties:
102102
default: 2
103103

104104
interrupts:
105-
anyOf:
105+
oneOf:
106106
- minItems: 1
107107
items:
108108
- description: TX interrupt

0 commit comments

Comments
 (0)