Skip to content

Commit 1be193b

Browse files
maass-hamburghenrikbrixandersen
authored andcommitted
drivers: i2c: litex: remove warnings from CI
remove warnings from CI. Signed-off-by: Fin Maaß <[email protected]>
1 parent 771b6ac commit 1be193b

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)