dma: imx-dma: configure the generic DMA type to make it work
Commit dea7a9fb 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: NJuergen Borleis <jbe@pengutronix.de> Link: https://lore.kernel.org/r/20210729071821.9857-1-jbe@pengutronix.deSigned-off-by: NVinod Koul <vkoul@kernel.org>
Showing
想要评论请 注册 或 登录