bcm2835-dma: only reserve channel 0 if legacy dma driver is enabled
authorMatthias Reichl <hias@horus.com>
Sat, 10 Oct 2020 22:48:55 +0000 (00:48 +0200)
committerpopcornmix <popcornmix@gmail.com>
Wed, 27 Jan 2021 19:13:21 +0000 (19:13 +0000)
commitddd1c8112abe97b9304702f044ffc78511c5a703
tree3e5424e5d3d26ff5daa941dc2c7280c1deb09ae4
parenta8b51b6cd2a8be95a8a02ee914f653156cb9af79
bcm2835-dma: only reserve channel 0 if legacy dma driver is enabled

If CONFIG_DMA_BCM2708 isn't enabled there's no need to mask out
one of the already scarce DMA channels.

Signed-off-by: Matthias Reichl <hias@horus.com>
drivers/dma/bcm2835-dma.c