From eac6edd7c5ba17d1d28560a33aaeab79f209df05 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 10 Nov 2020 12:18:02 +0000 Subject: [PATCH] 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 --- plugins/synaptics-mst/fu-synaptics-mst-device.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/synaptics-mst/fu-synaptics-mst-device.c b/plugins/synaptics-mst/fu-synaptics-mst-device.c index fd7a95312..3c3ece6a0 100644 --- a/plugins/synaptics-mst/fu-synaptics-mst-device.c +++ b/plugins/synaptics-mst/fu-synaptics-mst-device.c @@ -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; }