drivers: imx: sdma: Remove INT and CONT from chan0 config

For running channel0 we only need 1 BD so remove BD_CONT flag.
Also, interacting with channel0 is done through polling so remove
BD_INT flag.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
This commit is contained in:
Daniel Baluta 2020-04-16 21:58:12 +03:00 committed by Daniel Baluta
parent b363b3ab16
commit c4285a6a8c
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ static int sdma_run_c0(struct dma *dma, uint8_t cmd, uint32_t buf_addr,
cmd, buf_addr, sdma_addr, count);
c0data->desc[0].config = SDMA_BD_CMD(cmd) | SDMA_BD_COUNT(count)
| SDMA_BD_WRAP | SDMA_BD_DONE | SDMA_BD_INT | SDMA_BD_CONT;
| SDMA_BD_WRAP | SDMA_BD_DONE;
c0data->desc[0].buf_addr = buf_addr;
c0data->desc[0].buf_xaddr = sdma_addr;
if (sdma_addr)