mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-24 17:32:09 +00:00
ccgx: Be more precise when adding the instance ID
All the existing quirks are luckily 4 digits already, but this might not always be true in the future.
This commit is contained in:
parent
5bc5462213
commit
f8aec20233
@ -1350,7 +1350,7 @@ fu_ccgx_hpi_device_ensure_silicon_id(FuCcgxHpiDevice *self, GError **error)
|
||||
return FALSE;
|
||||
|
||||
/* add quirks */
|
||||
instance_id = g_strdup_printf("CCGX\\SID_%X", self->silicon_id);
|
||||
instance_id = g_strdup_printf("CCGX\\SID_%04X", self->silicon_id);
|
||||
fu_device_add_instance_id_full(FU_DEVICE(self),
|
||||
instance_id,
|
||||
FU_DEVICE_INSTANCE_FLAG_ONLY_QUIRKS);
|
||||
|
Loading…
Reference in New Issue
Block a user