Skip to content
Commit 27196780 authored by Phil Elwell's avatar Phil Elwell Committed by Dom Cobley
Browse files

bcm2835-dma: Derive slave DMA addresses correctly



Slave addresses for DMA are meant to be supplied as physical addresses
(contrary to what struct snd_dmaengine_dai_dma_data does). It is up to
the DMA controller driver to perform the translation based on its own
view of the world, as described in Device Tree.

Now that the Pi Device Trees have the correct peripheral mappings,
replace the hacky address munging with phys_to_dma().

Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.com>
parent f92defe7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment