2022-06-30 17:18:42

by ThePaulODoom

[permalink] [raw]
Subject: [PATCH] sound: arm: aaci: fixed formatting

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

Signed-off-by: Paul Lemmermann <[email protected]>
---
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