Skip to content

Commit

Permalink
dt-bindings: dma: allwinner,sun50i-a64-dma: Fix min/max typo
Browse files Browse the repository at this point in the history
The conditional block for variants with a second clock should have set
minItems, not maxItems, which was already 2. Since clock-names requires
two items, this typo should not have caused any problems.

Fixes: edd1421 ("dt-bindings: dmaengine: Convert Allwinner A31 and A64 DMA to a schema")
Signed-off-by: Samuel Holland <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
  • Loading branch information
smaeul authored and vinodkoul committed Jul 6, 2022
1 parent 1dbe67b commit 607a48c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ if:
then:
properties:
clocks:
maxItems: 2
minItems: 2

required:
- clock-names
Expand Down

0 comments on commit 607a48c

Please sign in to comment.