Commit 58a4d884 authored by Maximilian Luz's avatar Maximilian Luz Committed by Hans de Goede

platform/surface: aggregator_registry: Change device ID for base hub

Use the target category of the (base) hub as instance id in the
(virtual) hub device UID. This makes association of the hub with the
respective subsystem easier.
Signed-off-by: default avatarMaximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20220527023447.2460025-11-luzmaximilian@gmail.comReviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 1aa4c85b
...@@ -43,7 +43,7 @@ static const struct software_node ssam_node_root = { ...@@ -43,7 +43,7 @@ static const struct software_node ssam_node_root = {
/* Base device hub (devices attached to Surface Book 3 base). */ /* Base device hub (devices attached to Surface Book 3 base). */
static const struct software_node ssam_node_hub_base = { static const struct software_node ssam_node_hub_base = {
.name = "ssam:00:00:02:00:00", .name = "ssam:00:00:02:11:00",
.parent = &ssam_node_root, .parent = &ssam_node_root,
}; };
...@@ -535,7 +535,7 @@ static int ssam_base_hub_probe(struct ssam_device *sdev) ...@@ -535,7 +535,7 @@ static int ssam_base_hub_probe(struct ssam_device *sdev)
} }
static const struct ssam_device_id ssam_base_hub_match[] = { static const struct ssam_device_id ssam_base_hub_match[] = {
{ SSAM_VDEV(HUB, 0x02, SSAM_ANY_IID, 0x00) }, { SSAM_VDEV(HUB, 0x02, SSAM_SSH_TC_BAS, 0x00) },
{ }, { },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment