Skip to content

Commit

Permalink
Fixed I2C fw-toggle timing issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
xyan264 committed Oct 11, 2019
1 parent 898ed79 commit 5c84901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/platform/linux-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ static void i2c_gas_write(struct switchtec_dev *dev, void __gas *dest,
tag = get_tag(idev);
i2c_gas_data_write(dev, dest, src, n, tag);
do {
usleep(500);
usleep(5000);
status = i2c_gas_write_status_get(dev, tag);
if (status == 0 || status == GAS_TWI_MRPC_ERR)
break;
Expand Down

0 comments on commit 5c84901

Please sign in to comment.