mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 01:07:27 +00:00
vli: Fix the i2c device enumeration, e.g. MSP430
This regressed in f9e9e087d
, as we're using FuDevice->setup() to check
if the device is present, but without setting the physical IDs.
This commit is contained in:
parent
723deed200
commit
5f74504667
@ -308,6 +308,7 @@ fu_vli_usbhub_msp430_device_probe (FuDevice *device, GError **error)
|
||||
g_autofree gchar *instance_id = NULL;
|
||||
|
||||
fu_device_set_name (device, fu_vli_common_device_kind_to_string (device_kind));
|
||||
fu_device_set_physical_id (device, fu_device_get_physical_id (FU_DEVICE (parent)));
|
||||
|
||||
/* add instance ID */
|
||||
instance_id = g_strdup_printf ("USB\\VID_%04X&PID_%04X&I2C_%s",
|
||||
|
@ -480,6 +480,7 @@ fu_vli_usbhub_rtd21xx_device_probe (FuDevice *device, GError **error)
|
||||
g_autofree gchar *instance_id = NULL;
|
||||
|
||||
fu_device_set_name (device, fu_vli_common_device_kind_to_string (device_kind));
|
||||
fu_device_set_physical_id (device, fu_device_get_physical_id (FU_DEVICE (parent)));
|
||||
|
||||
/* add instance ID */
|
||||
instance_id = g_strdup_printf ("USB\\VID_%04X&PID_%04X&I2C_%s",
|
||||
|
Loading…
Reference in New Issue
Block a user