]> Git Repo - linux.git/blobdiff - drivers/platform/surface/surface_aggregator_hub.c
regmap: mmio: Allow passing an empty config->reg_stride
[linux.git] / drivers / platform / surface / surface_aggregator_hub.c
index 43061514be3822f8ad2866a7b5535dc28ca7e2ee..8b8b80228c147350f00ad60f8de2c60070eec3c6 100644 (file)
@@ -214,7 +214,7 @@ static void ssam_hub_remove(struct ssam_device *sdev)
 
 SSAM_DEFINE_SYNC_REQUEST_R(ssam_bas_query_opmode, u8, {
        .target_category = SSAM_SSH_TC_BAS,
-       .target_id       = 0x01,
+       .target_id       = SSAM_SSH_TID_SAM,
        .command_id      = 0x0d,
        .instance_id     = 0x00,
 });
@@ -292,7 +292,7 @@ static const struct ssam_hub_desc base_hub = {
 
 SSAM_DEFINE_SYNC_REQUEST_R(__ssam_kip_query_state, u8, {
        .target_category = SSAM_SSH_TC_KIP,
-       .target_id       = 0x01,
+       .target_id       = SSAM_SSH_TID_SAM,
        .command_id      = 0x2c,
        .instance_id     = 0x00,
 });
@@ -348,8 +348,8 @@ static const struct ssam_hub_desc kip_hub = {
 /* -- Driver registration. -------------------------------------------------- */
 
 static const struct ssam_device_id ssam_hub_match[] = {
-       { SSAM_VDEV(HUB, 0x01, SSAM_SSH_TC_KIP, 0x00), (unsigned long)&kip_hub  },
-       { SSAM_VDEV(HUB, 0x02, SSAM_SSH_TC_BAS, 0x00), (unsigned long)&base_hub },
+       { SSAM_VDEV(HUB, SAM, SSAM_SSH_TC_KIP, 0x00), (unsigned long)&kip_hub  },
+       { SSAM_VDEV(HUB, SAM, SSAM_SSH_TC_BAS, 0x00), (unsigned long)&base_hub },
        { }
 };
 MODULE_DEVICE_TABLE(ssam, ssam_hub_match);
This page took 0.042681 seconds and 4 git commands to generate.