[Sound-open-firmware] [PATCH] dma: dw: fix indentation in error path

Liam Girdwood liam.r.girdwood at linux.intel.com
Thu Oct 12 23:31:09 CEST 2017


Signed-off-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
---
 src/drivers/dw-dma.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/drivers/dw-dma.c b/src/drivers/dw-dma.c
index 108a96b..05791e6 100644
--- a/src/drivers/dw-dma.c
+++ b/src/drivers/dw-dma.c
@@ -544,8 +544,8 @@ static int dw_dma_set_config(struct dma *dma, int channel,
 		}
 
 		if (sg_elem->size > DW_CTLH_BLOCK_TS_MASK) {
-				trace_dma_error("eDS");
-				return -EINVAL;
+			trace_dma_error("eDS");
+			return -EINVAL;
 		}
 		/* set transfer size of element */
 #if defined CONFIG_BAYTRAIL || defined CONFIG_CHERRYTRAIL
-- 
2.11.0



More information about the Sound-open-firmware mailing list