mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-04 11:31:51 +00:00
trivial: Use DEVPATH for platform UDev devices
This commit is contained in:
parent
a21e025e46
commit
d51f2ec939
@ -1016,6 +1016,7 @@ fu_udev_device_set_physical_id (FuUdevDevice *self, const gchar *subsystems, GEr
|
||||
} else if (g_strcmp0 (subsystem, "usb") == 0 ||
|
||||
g_strcmp0 (subsystem, "mmc") == 0 ||
|
||||
g_strcmp0 (subsystem, "i2c") == 0 ||
|
||||
g_strcmp0 (subsystem, "platform") == 0 ||
|
||||
g_strcmp0 (subsystem, "scsi") == 0) {
|
||||
tmp = g_udev_device_get_property (udev_device, "DEVPATH");
|
||||
if (tmp == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user