summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-08-13 12:49:16 +0200
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-01-06 20:58:04 +0000
commit4b6d368d12eeec04f335fec42d5b94cee38cead2 (patch)
tree696e6d0b7cfdea990729df3c9c7cd7f6aa30f43c /src/soc
parentc7932e267da0cba819545fa1201b6237db69091d (diff)
soc/rockchip/rk3399/mipi: Remove space before semicolon
Change-Id: I7e02173c296689ef3143a1079658006ec91c4dc2 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77156 Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/rockchip/rk3399/mipi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/rockchip/rk3399/mipi.c b/src/soc/rockchip/rk3399/mipi.c
index 41d661e6cf..d679cfe5cc 100644
--- a/src/soc/rockchip/rk3399/mipi.c
+++ b/src/soc/rockchip/rk3399/mipi.c
@@ -543,7 +543,7 @@ static int rk_mipi_dsi_check_fifo(struct rk_mipi_dsi *dsi, u32 flag)
do {
val = read32(&dsi->mipi_regs->dsi_cmd_pkt_status);
if (!(val & flag))
- return 0 ;
+ return 0;
} while (!stopwatch_expired(&sw));
return -1;
@@ -567,7 +567,7 @@ static int rk_mipi_dsi_gen_pkt_hdr_write(struct rk_mipi_dsi *dsi, u32 hdr_val)
do {
val = read32(&dsi->mipi_regs->dsi_cmd_pkt_status);
if ((val & mask) == mask)
- return 0 ;
+ return 0;
} while (!stopwatch_expired(&sw));
printk(BIOS_ERR, "failed to write command FIFO\n");