synaptics-mst: Allow MST to fall back if no PCI device is marked as parent

At the moment not having a udev parent was causing the dock device to not be
detected.
This commit is contained in:
Richard Hughes 2020-02-12 09:49:44 +00:00
parent 234ee64509
commit de5573c68b

View File

@ -131,7 +131,7 @@ fu_synaptics_mst_device_probe (FuUdevDevice *device, GError **error)
g_autofree gchar *logical_id = NULL;
logical_id = g_path_get_basename (fu_udev_device_get_sysfs_path(device));
fu_device_set_logical_id (FU_DEVICE (device), logical_id);
if (!fu_udev_device_set_physical_id (device, "pci", error))
if (!fu_udev_device_set_physical_id (device, "pci,drm_dp_aux_dev", error))
return FALSE;
return TRUE;
}