From 511d8c0b97a93524f0bc1b52a4e07a7f5cfd80d3 Mon Sep 17 00:00:00 2001 From: Liam Girdwood Date: Tue, 13 Feb 2018 14:32:03 +0000 Subject: [PATCH] hda: dma: minor cleanup of newlines Signed-off-by: Liam Girdwood --- src/drivers/hda-dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/hda-dma.c b/src/drivers/hda-dma.c index a14352853..226a34e8b 100644 --- a/src/drivers/hda-dma.c +++ b/src/drivers/hda-dma.c @@ -309,7 +309,6 @@ static int hda_dma_set_config(struct dma *dma, int channel, p->chan[channel].direction = config->direction; p->chan[channel].desc_count = desc_count; - /* validate - HDA only supports continuous elems of same size */ list_for_item(plist, &config->elem_list) { sg_elem = container_of(plist, struct dma_sg_elem, list); @@ -343,6 +342,7 @@ static int hda_dma_set_config(struct dma *dma, int channel, /* firmware control buffer */ dgcs = DGCS_FWCB; + /* set DGCS.SCS bit to 0 for 32 bit container */ if ((config->direction == SOF_IPC_STREAM_PLAYBACK && config->dest_width <= 16) ||