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
commit 607a48c upstream.

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 <samuel@sholland.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220702031903.21703-1-samuel@sholland.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
smaeul authored and gregkh committed Jul 12, 2022
1 parent ca4a919 commit 37995f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ if:
then:
properties:
clocks:
maxItems: 2
minItems: 2

required:
- clock-names
Expand Down

0 comments on commit 37995f0

Please sign in to comment.