bcm2835-dma: Add support for per-channel flags
authorPhil Elwell <phil@raspberrypi.org>
Fri, 20 Jul 2018 21:03:41 +0000 (22:03 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:03:53 +0000 (16:03 +0000)
commitece9479af92566a106a472c7bd8ae1ca974a7d01
tree127d58541aa129b6151c18e9a5c92080041cbcdd
parent87e162116e493846028fbc00ae2c189dd7180d71
bcm2835-dma: Add support for per-channel flags

Add the ability to interpret the high bits of the dreq specifier as
flags to be included in the DMA_CS register. The motivation for this
change is the ability to set the DISDEBUG flag for SD card transfers
to avoid corruption when using the VPU debugger.

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
drivers/dma/bcm2835-dma.c