summaryrefslogtreecommitdiff
path: root/drivers/platform/surface
diff options
context:
space:
mode:
authorMaximilian Luz <luzmaximilian@gmail.com>2022-05-27 05:34:45 +0300
committerHans de Goede <hdegoede@redhat.com>2022-06-13 18:25:08 +0300
commit58a4d884b50947c0ffb494f690b2d7a1422a45c7 (patch)
tree4a0dd7b45f62dd6b34ce809f120524267a3ed15d /drivers/platform/surface
parent1aa4c85bab7623469271d5a9cde3e3005b56fb7c (diff)
downloadlinux-58a4d884b50947c0ffb494f690b2d7a1422a45c7.tar.xz
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: Maximilian Luz <luzmaximilian@gmail.com> Link: https://lore.kernel.org/r/20220527023447.2460025-11-luzmaximilian@gmail.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/surface')
-rw-r--r--drivers/platform/surface/surface_aggregator_registry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/surface/surface_aggregator_registry.c b/drivers/platform/surface/surface_aggregator_registry.c
index 09cbeee2428b..b11ce87c7184 100644
--- a/drivers/platform/surface/surface_aggregator_registry.c
+++ b/drivers/platform/surface/surface_aggregator_registry.c
@@ -43,7 +43,7 @@ static const struct software_node ssam_node_root = {
/* Base device hub (devices attached to Surface Book 3 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,
};
@@ -535,7 +535,7 @@ static int ssam_base_hub_probe(struct ssam_device *sdev)
}
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) },
{ },
};