MLK-22239-1: dmaengine: imx-sdma: Support 24bit/3bytes for sg mode
Support 24bit/3bytes for sg mode. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Acked-by: Robin Gong <yibin.gong@nxp.com>5.4-rM2-2.2.x-imx-squashed
parent
b9416dfe21
commit
95fdc2b77f
|
@ -1680,6 +1680,9 @@ static struct dma_async_tx_descriptor *sdma_prep_slave_sg(
|
|||
if (count & 3 || sg->dma_address & 3)
|
||||
goto err_bd_out;
|
||||
break;
|
||||
case DMA_SLAVE_BUSWIDTH_3_BYTES:
|
||||
bd->mode.command = 3;
|
||||
break;
|
||||
case DMA_SLAVE_BUSWIDTH_2_BYTES:
|
||||
bd->mode.command = 2;
|
||||
if (count & 1 || sg->dma_address & 1)
|
||||
|
|
Loading…
Reference in New Issue