Message ID | 20210125142431.1049668-1-geert+renesas@glider.be (mailing list archive) |
---|---|
Headers | show |
Series | dmaengine: rcar-dmac: Add support for R-Car V3U | expand |
On Mon, Jan 25, 2021 at 03:24:29PM +0100, Geert Uytterhoeven wrote: > Add and helper macro for iterating over all DMAC channels, taking into > account the channel mask. Use it where appropriate, to simplify code. > > Restore "reverse Christmas tree" order of local variables while adding a > new variable. > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Looks good and works fine with I2C + DMA on V3U: Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
On Mon, Jan 25, 2021 at 03:24:30PM +0100, Geert Uytterhoeven wrote: > Extract the code to clear the status of one or all channels into their > own helpers, to prepare for the different handling of the R-Car V3U SoC. > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Looks good and works fine with I2C + DMA on V3U: Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>