]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: rcar-dmac: Use of_data values instead of a macro
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Mon, 9 Sep 2019 06:34:50 +0000 (15:34 +0900)
committerVinod Koul <vkoul@kernel.org>
Mon, 14 Oct 2019 06:56:58 +0000 (12:26 +0530)
commit711a78968de2507b972ca1c0079fa65c4162f8a3
tree8878e7b6ff68b275d3ba1c8afa4f86670dae8aaa
parent59450fe8653856917716169e6be705396a03645e
dmaengine: rcar-dmac: Use of_data values instead of a macro

Since we will have changed memory mapping of the DMAC in the future,
this patch uses of_data values instead of a macro to calculate
each channel's base offset.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Link: https://lore.kernel.org/r/1568010892-17606-3-git-send-email-yoshihiro.shimoda.uh@renesas.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/sh/rcar-dmac.c