Skip to content

Commit 32172b3

Browse files
Wolfram Sangvinodkoul
authored andcommitted
dmaengine: sh: rz-dmac: add r7s72100 support
This SoC needs to make getting resets optional. Descriptions are reworded to be more generic. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20241007110200.43166-8-wsa+renesas@sang-engineering.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 209efec commit 32172b3

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

drivers/dma/sh/Kconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ config RENESAS_USB_DMAC
4949
SoCs.
5050

5151
config RZ_DMAC
52-
tristate "Renesas RZ/{G2L,V2L} DMA Controller"
53-
depends on ARCH_RZG2L || COMPILE_TEST
52+
tristate "Renesas RZ DMA Controller"
53+
depends on ARCH_R7S72100 || ARCH_RZG2L || COMPILE_TEST
5454
select RENESAS_DMA
5555
select DMA_VIRTUAL_CHANNELS
5656
help
57-
This driver supports the general purpose DMA controller found in the
58-
Renesas RZ/{G2L,V2L} SoC variants.
57+
This driver supports the general purpose DMA controller typically
58+
found in the Renesas RZ SoC variants.

drivers/dma/sh/rz-dmac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ static int rz_dmac_probe(struct platform_device *pdev)
893893
/* Initialize the channels. */
894894
INIT_LIST_HEAD(&dmac->engine.channels);
895895

896-
dmac->rstc = devm_reset_control_array_get_exclusive(&pdev->dev);
896+
dmac->rstc = devm_reset_control_array_get_optional_exclusive(&pdev->dev);
897897
if (IS_ERR(dmac->rstc))
898898
return dev_err_probe(&pdev->dev, PTR_ERR(dmac->rstc),
899899
"failed to get resets\n");

0 commit comments

Comments
 (0)