From: Yan Wang yan.wang@linux.intel.com
The channel numbers of playback and capture are reversed on CNL. The channel number of playback is 9. The channel number of capture is 7.
Signed-off-by: Yan Wang yan.wang@linux.intel.com --- src/platform/cannonlake/dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/platform/cannonlake/dma.c b/src/platform/cannonlake/dma.c index 4c488c1..59e0fc7 100644 --- a/src/platform/cannonlake/dma.c +++ b/src/platform/cannonlake/dma.c @@ -134,7 +134,7 @@ static struct dma dma[] = { .plat_data = { .id = DMA_HOST_IN_DMAC, .base = GTW_HOST_IN_STREAM_BASE(0), - .channels = 9, + .channels = 7, .irq = IRQ_EXT_HOST_DMA_IN_LVL3(0, 0), }, .ops = &hda_host_dma_ops, @@ -143,7 +143,7 @@ static struct dma dma[] = { .plat_data = { .id = DMA_HOST_OUT_DMAC, .base = GTW_HOST_OUT_STREAM_BASE(0), - .channels = 7, + .channels = 9, .irq = IRQ_EXT_HOST_DMA_OUT_LVL3(0, 0), }, .ops = &hda_host_dma_ops,