mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-29 07:53:44 +02:00
lspcon_i2c_spi.c: Trivial style fix
Change-Id: I0675b467d7b0d24626a336033668bf80bfeeb815 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/40679 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
parent
552e60e571
commit
94991d83e4
@ -151,7 +151,7 @@ static int lspcon_i2c_spi_wait_command_done(int fd, unsigned int offset, int mas
|
||||
int ret = 0;
|
||||
do {
|
||||
ret |= lspcon_i2c_spi_read_register(fd, offset, &val);
|
||||
} while(!ret && (val & mask) && ++tried < MAX_SPI_WAIT_RETRIES);
|
||||
} while (!ret && (val & mask) && ++tried < MAX_SPI_WAIT_RETRIES);
|
||||
|
||||
if (tried == MAX_SPI_WAIT_RETRIES) {
|
||||
msg_perr("Error: Time out on sending command.\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user