1 comment:
/* wait for isp enter */
int retry = 10;
while (retry-- > 0) {
if (realtek_mst_i2c_spi_in_isp_mode(fd) == 1)
break;
struct timespec wait_200ms = { 0, (unsigned)2e8 };
nanosleep(&wait_200ms, NULL);
}
if (retry < 0)
return SPI_GENERIC_ERROR;
I think this is re-implementing,
`realtek_mst_i2c_spi_wait_command_done(fd, MCU_MODE, MCU_ISP_MODE_MASK, 0, 1);`
To view, visit change 48662. To unsubscribe, or for help writing mail filters, visit settings.