Skip to content
Commit de7b7dca authored by Angus Ainslie (Purism)'s avatar Angus Ainslie (Purism) Committed by Vinod Koul
Browse files

dmaengine: imx-sdma: add a test for imx8mq multi sdma devices



On i.mx8mq, there are two sdma instances, and the common dma framework
will get a channel dynamically from any available sdma instance whether
it's the first sdma device or the second sdma device. Some IPs like
SAI only work with sdma2 not sdma1. To make sure the sdma channel is from
the correct sdma device, use the node pointer to match.

Signed-off-by: default avatarAngus Ainslie (Purism) <angus@akkea.ca>
Reviewed-by: default avatarLucas Stach <l.stach@pengutronix.de>
Tested-by: default avatarDaniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 25aaa75d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment