[PATCH] sound: arm: aaci: fixed formatting

Paul Lemmermann thepaulodoom at thepaulodoom.com
Thu Jun 30 18:55:02 CEST 2022


added proper spacing before parenthesis and around 'or' operator.

Signed-off-by: Paul Lemmermann <thepaulodoom at thepaulodoom.com>
---
 sound/arm/aaci.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sound/arm/aaci.c b/sound/arm/aaci.c
index 0817ad21a..724a1d50b 100644
--- a/sound/arm/aaci.c
+++ b/sound/arm/aaci.c
@@ -239,7 +239,7 @@ static void aaci_fifo_irq(struct aaci *aaci, int channel, u32 mask)
 			aacirun->bytes -= len;
 
 			/* reading 16 bytes at a time */
-			for( ; len > 0; len -= 16) {
+			for ( ; len > 0; len -= 16) {
 				asm(
 					"ldmia	%1, {r0, r1, r2, r3}\n\t"
 					"stmia	%0!, {r0, r1, r2, r3}"
@@ -250,7 +250,7 @@ static void aaci_fifo_irq(struct aaci *aaci, int channel, u32 mask)
 				if (ptr >= aacirun->end)
 					ptr = aacirun->start;
 			}
-		} while(1);
+		} while (1);
 
 		aacirun->ptr = ptr;
 
@@ -662,7 +662,7 @@ static void aaci_pcm_capture_start(struct aaci_runtime *aacirun)
 	writel(aacirun->cr, aacirun->base + AACI_RXCR);
 
 	ie = readl(aacirun->base + AACI_IE);
-	ie |= IE_ORIE |IE_RXIE; // overrun and rx interrupt -- half full
+	ie |= IE_ORIE | IE_RXIE; // overrun and rx interrupt -- half full
 	writel(ie, aacirun->base + AACI_IE);
 }
 
-- 
2.36.1



More information about the Alsa-devel mailing list