summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-07-06 11:42:27 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-07 05:26:59 +0000
commit4f9467ce58b0ae7822eed24ffe8a825823cc2bb6 (patch)
tree74075903386cb9ca2dd8f3a8e26b82da13472040 /chip
parent188f8f89e75babd6fb3c7b5ffdb9a5b79d8819a0 (diff)
downloadchrome-ec-4f9467ce58b0ae7822eed24ffe8a825823cc2bb6.tar.gz
chip/ish/dma.c: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Tricium: disable Change-Id: I04972bcbdc517b7f4c2e7c1a5ca4bc571c517704 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3749428 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r--chip/ish/dma.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/chip/ish/dma.c b/chip/ish/dma.c
index a14e1284d6..e94909ea87 100644
--- a/chip/ish/dma.c
+++ b/chip/ish/dma.c
@@ -138,10 +138,11 @@ int ish_dma_copy(uint32_t chan, uint32_t dst, uint32_t src, uint32_t length,
transfer */
DMA_DAR(chan_reg) = dst; /* Destination address */
DMA_SAR(chan_reg) = src; /* Source address */
- DMA_EN_REG = DMA_CH_EN_BIT(chan) | DMA_CH_EN_WE_BIT(chan); /* Enable
- the
- channel
- */
+ DMA_EN_REG = DMA_CH_EN_BIT(chan) |
+ DMA_CH_EN_WE_BIT(chan); /* Enable
+ the
+ channel
+ */
interrupt_unlock(eflags);
rc = ish_wait_for_dma_done(chan); /* Wait for trans completion