diff options
author | Juergen Borleis <jbe@pengutronix.de> | 2021-07-29 09:18:21 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-08-02 12:31:19 +0530 |
commit | 7199ddede9f0f2f68d41e6928e1c6c4bca9c39c0 (patch) | |
tree | d306c02417647e9e96e77356178d8b9b544e8544 /lib/mpi/mpi-sub-ui.c | |
parent | eda97cb095f2958bbad55684a6ca3e7d7af0176a (diff) |
dmaengine: imx-dma: configure the generic DMA type to make it work
Commit dea7a9fbb009 ("dmaengine: imx-dma: remove dma_slave_config
direction usage") changes the method from a "configuration when called"
to an "configuration when used". Due to this, only the cyclic DMA type
gets configured correctly, while the generic DMA type is left
non-configured.
Without this additional call, the struct imxdma_channel::word_size member
is stuck at DMA_SLAVE_BUSWIDTH_UNDEFINED and imxdma_prep_slave_sg() always
returns NULL.
Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
Fixes: dea7a9fbb009 ("dmaengine: imx-dma: remove dma_slave_config direction usage")
Link: https://lore.kernel.org/r/20210729071821.9857-1-jbe@pengutronix.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions