mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-07 16:06:06 +00:00
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:
parent
234ee64509
commit
de5573c68b
@ -131,7 +131,7 @@ fu_synaptics_mst_device_probe (FuUdevDevice *device, GError **error)
|
|||||||
g_autofree gchar *logical_id = NULL;
|
g_autofree gchar *logical_id = NULL;
|
||||||
logical_id = g_path_get_basename (fu_udev_device_get_sysfs_path(device));
|
logical_id = g_path_get_basename (fu_udev_device_get_sysfs_path(device));
|
||||||
fu_device_set_logical_id (FU_DEVICE (device), logical_id);
|
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 FALSE;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user