Skip to content

Commit 385a063

Browse files
committed
drivers: i2c: litex: remove warnings from CI
remove warnings from CI. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
1 parent 3266911 commit 385a063

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/i2c/i2c_litex_litei2c.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,13 +340,13 @@ static int i2c_litex_recover_bus(const struct device *dev)
340340
i2c_litex_write_settings(dev, 0, 0, true);
341341

342342
while (!(litex_read8(config->master_status_addr) & BIT(MASTER_STATUS_TX_READY_OFFSET))) {
343-
;
343+
/* Wait for TX ready */
344344
}
345345

346346
litex_write32(0, config->master_rxtx_addr);
347347

348348
while (!(litex_read8(config->master_status_addr) & BIT(MASTER_STATUS_RX_READY_OFFSET))) {
349-
;
349+
/* Wait for RX data */
350350
}
351351

352352
(void)litex_read32(config->master_rxtx_addr);

0 commit comments

Comments
 (0)