MLK-16224-1: dmaengine: add src_fifo_num and dst_fifo_num in dma_slave_config
authorShengjiu Wang <shengjiu.wang@nxp.com>
Tue, 23 Jan 2018 05:27:39 +0000 (13:27 +0800)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:17:28 +0000 (11:17 +0800)
commit54311ce5f603cdf36ba00c7101e0dbb7599bf497
tree60a032e56e38bd1526cd2064fc0d0595378f752f
parentb91dc4c7f60f15d5f088fe8f87f1f62ad0f558c6
MLK-16224-1: dmaengine: add src_fifo_num and dst_fifo_num in dma_slave_config

In order to support multi-fifo sdma script, the audio driver need to send
the fifo number to dma driver through dma_slave_config, so add src_fifo_num
and dst_fifo_num two new variable for struct dma_slave_config.

src_fifo_num: bit 0-7 is the fifo number, bit:8-11 is the fifo offset;
dst_fifo_num: same as src_fifo_num

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Robin Gong<yibin.gong@nxp.com>
include/linux/dmaengine.h