diff options
-rw-r--r-- | drivers/misc/mei/hbm.c | 6 | ||||
-rw-r--r-- | drivers/misc/mei/hw.h | 5 |
2 files changed, 5 insertions, 6 deletions
diff --git a/drivers/misc/mei/hbm.c b/drivers/misc/mei/hbm.c index 804106209d76..68a1cba54022 100644 --- a/drivers/misc/mei/hbm.c +++ b/drivers/misc/mei/hbm.c | |||
@@ -288,7 +288,7 @@ static int mei_hbm_prop_req(struct mei_device *dev) | |||
288 | 288 | ||
289 | 289 | ||
290 | prop_req->hbm_cmd = HOST_CLIENT_PROPERTIES_REQ_CMD; | 290 | prop_req->hbm_cmd = HOST_CLIENT_PROPERTIES_REQ_CMD; |
291 | prop_req->address = next_client_index; | 291 | prop_req->me_addr = next_client_index; |
292 | 292 | ||
293 | ret = mei_write_message(dev, mei_hdr, dev->wr_msg.data); | 293 | ret = mei_write_message(dev, mei_hdr, dev->wr_msg.data); |
294 | if (ret) { | 294 | if (ret) { |
@@ -783,9 +783,9 @@ int mei_hbm_dispatch(struct mei_device *dev, struct mei_msg_hdr *hdr) | |||
783 | return -EPROTO; | 783 | return -EPROTO; |
784 | } | 784 | } |
785 | 785 | ||
786 | if (me_client->client_id != props_res->address) { | 786 | if (me_client->client_id != props_res->me_addr) { |
787 | dev_err(&dev->pdev->dev, "hbm: properties response: address mismatch %d ?= %d\n", | 787 | dev_err(&dev->pdev->dev, "hbm: properties response: address mismatch %d ?= %d\n", |
788 | me_client->client_id, props_res->address); | 788 | me_client->client_id, props_res->me_addr); |
789 | return -EPROTO; | 789 | return -EPROTO; |
790 | } | 790 | } |
791 | 791 | ||
diff --git a/drivers/misc/mei/hw.h b/drivers/misc/mei/hw.h index dd448e58cc87..50526f92f092 100644 --- a/drivers/misc/mei/hw.h +++ b/drivers/misc/mei/hw.h | |||
@@ -206,14 +206,13 @@ struct mei_client_properties { | |||
206 | 206 | ||
207 | struct hbm_props_request { | 207 | struct hbm_props_request { |
208 | u8 hbm_cmd; | 208 | u8 hbm_cmd; |
209 | u8 address; | 209 | u8 me_addr; |
210 | u8 reserved[2]; | 210 | u8 reserved[2]; |
211 | } __packed; | 211 | } __packed; |
212 | 212 | ||
213 | |||
214 | struct hbm_props_response { | 213 | struct hbm_props_response { |
215 | u8 hbm_cmd; | 214 | u8 hbm_cmd; |
216 | u8 address; | 215 | u8 me_addr; |
217 | u8 status; | 216 | u8 status; |
218 | u8 reserved[1]; | 217 | u8 reserved[1]; |
219 | struct mei_client_properties client_properties; | 218 | struct mei_client_properties client_properties; |