mirror of https://github.com/thesofproject/sof.git
drivers: imx: sai: Select correct EDMA channel number
The SAI doesn't use channel 0, but channels 14 and 15. The handshake contains the correct channel number. Signed-off-by: Paul Olaru <paul.olaru@nxp.com>
This commit is contained in:
parent
3cbc289c0c
commit
18e7c88b1e
|
@ -795,6 +795,7 @@ static int dai_config(struct comp_dev *dev, struct sof_ipc_dai_config *config)
|
|||
channel);
|
||||
break;
|
||||
case SOF_DAI_IMX_SAI:
|
||||
channel = EDMA_HS_GET_CHAN(handshake);
|
||||
dd->config.burst_elems =
|
||||
dd->dai->plat_data.fifo[dev->params.direction].depth;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue