mirror of https://github.com/thesofproject/sof.git
drivers: imx: edma: Store direction from config into the channel data
This direction is to be used later. Signed-off-by: Paul Olaru <paul.olaru@nxp.com>
This commit is contained in:
parent
fa6206d47c
commit
ea6060c9ca
|
@ -345,6 +345,7 @@ static int edma_set_config(struct dma_chan_data *channel,
|
|||
trace_edma("EDMA: set config");
|
||||
|
||||
channel->is_scheduling_source = config->is_scheduling_source;
|
||||
channel->direction = config->direction;
|
||||
|
||||
switch (config->direction) {
|
||||
case DMA_DIR_MEM_TO_DEV:
|
||||
|
|
Loading…
Reference in New Issue