diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-04-04 22:44:59 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-04-05 16:53:41 -0700 |
commit | f9cd476123ced488e628339becedb2cf3243a58a (patch) | |
tree | 7b017a4a63b94bcb7e032b75e5fd432dcd0c694d /mm/dmapool.c | |
parent | f55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff) |
dmaengine: pl08x: allocate OF slave channel data at probe time
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 <maxime.ripard@free-electrons.com>
Tested-by: Joachim Eastwood <manabian@gmail.com>
Tested-by: Johannes Stezenbach <js@sig21.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'mm/dmapool.c')
0 files changed, 0 insertions, 0 deletions