mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
The current OF translation of channels can never work with any DMA client using the DMA channels directly: the only way to get the channels initialized properly is in the dma_async_device_register() call, where chan->dev etc is allocated and initialized. Allocate and initialize all possible DMA channels and only augment a target channel with the periph_buses at of_xlate(). Remove some const settings to make things work. Cc: Maxime Ripard <[email protected]> Tested-by: Joachim Eastwood <[email protected]> Tested-by: Johannes Stezenbach <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Vinod Koul <[email protected]>