diff options
author | Samuel Holland <samuel@sholland.org> | 2022-07-01 22:19:02 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-07-12 16:30:49 +0200 |
commit | d88022b41efff477929ff5cb061d05d49e04abab (patch) | |
tree | e1f8929f0b0fdd256b4abcf3458d139992dcba28 | |
parent | aaf875578fd96b2e517200ca1c1f545f6817c42e (diff) | |
download | linux-stable-d88022b41efff477929ff5cb061d05d49e04abab.tar.gz linux-stable-d88022b41efff477929ff5cb061d05d49e04abab.tar.bz2 linux-stable-d88022b41efff477929ff5cb061d05d49e04abab.zip |
dt-bindings: dma: allwinner,sun50i-a64-dma: Fix min/max typo
commit 607a48c78e6b427b0b684d24e61c19e846ad65d6 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: edd14218bd66 ("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>
-rw-r--r-- | Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml b/Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml index 4cb9d6b93138..c61c4a6b57f1 100644 --- a/Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml +++ b/Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml @@ -58,7 +58,7 @@ if: then: properties: clocks: - maxItems: 2 + minItems: 2 required: - clock-names |