dmaengine: bcm2835: Fix dma driver for BCM2835-38
authorDom Cobley <popcornmix@gmail.com>
Wed, 24 May 2023 18:32:16 +0000 (19:32 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:34:51 +0000 (11:34 +0000)
commit021aaaaf397f537183dda8dd2e21271da0ffb31f
tree130efc01174138355dd13a4abd9c2d33d796cea9
parent9ac9cd3b53f55f5ecb7d39713744fe9298842aeb
dmaengine: bcm2835: Fix dma driver for BCM2835-38

The previous commit broke support on older devices.
Make the breaking parts of patch conditional on
the device being used.

Fixes: 6e1856ac7c39 ("dmaengine: bcm2835: HACK: Support DMA-Lite channels")

Signed-off-by: Dom Cobley <popcornmix@gmail.com>
drivers/dma/bcm2835-dma.c