[Sound-open-firmware] [PATCH] hda: dma: minor cleanup of newlines
Liam Girdwood
liam.r.girdwood at linux.intel.com
Tue Feb 13 16:45:51 CET 2018
Signed-off-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
---
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 a143528..226a34e 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) ||
--
2.14.1
More information about the Sound-open-firmware
mailing list