diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2014-08-21 07:29:10 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-24 01:57:47 -0400 |
commit | 3438c1f3b7b3f18a85ea7ed3c2f70ffe387aeee9 (patch) | |
tree | 871bfff6a25c9f412fd70805482200458ff2658c /drivers/misc/mei/hbm.c | |
parent | 05e314e2535f1693098e58b0261169565a43bec1 (diff) |
mei: use consistently me_addr in the hbm structures
Use consistently me_addr name in hbm protocol structures
to represent in firmware client address
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/hbm.c')
-rw-r--r-- | drivers/misc/mei/hbm.c | 6 |
1 files changed, 3 insertions, 3 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 | ||