synaptics-mst: Improve reliability by waiting 2 seconds after writing data

On failure, you get this:

    no device found on drm_dp_aux5: Memory query failed: failed to write command
    failed to get device after update: failed to wait for detach replug
This commit is contained in:
Richard Hughes 2020-11-10 12:18:02 +00:00
parent db15442c7c
commit eac6edd7c5

View File

@ -859,7 +859,10 @@ fu_synaptics_mst_device_write_firmware (FuDevice *device,
return FALSE;
}
}
/* wait for flash clear to settle */
fu_device_set_status (device, FWUPD_STATUS_DEVICE_RESTART);
fu_device_sleep_with_progress (device, 2);
return TRUE;
}