bcm2835-dma: Add support for per-channel flags
authorPhil Elwell <phil@raspberrypi.org>
Fri, 20 Jul 2018 21:03:41 +0000 (22:03 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 27 Jan 2021 19:12:56 +0000 (19:12 +0000)
commit9a5fd6b6c6f2b5f838b06ca81209043b1c268ce8
tree9f727c3f97c7bcf88007c62526766833a872f412
parent85b48e22c715e57202e666697b03b316bc106470
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