aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/init.c
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2012-12-25 12:06:11 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-07 13:31:29 -0500
commit8120e7201cf9795bc98ffb2e3064b657c0f34c05 (patch)
treeb69cde5c2eb81a357f61aa464be98ccfde374a3b /drivers/misc/mei/init.c
parente46f187487a8c28e64417e51ba628746a5397838 (diff)
mei: add common prefix to hbm function
1. use mei_hbm_ for basic host bus message function 2. use mei_hbm_cl prefix for host bus messages that operation on behalf of a client Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/init.c')
-rw-r--r--drivers/misc/mei/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/mei/init.c b/drivers/misc/mei/init.c
index 0536170ff856..418a85f315f1 100644
--- a/drivers/misc/mei/init.c
+++ b/drivers/misc/mei/init.c
@@ -529,9 +529,9 @@ int mei_disconnect_host_client(struct mei_device *dev, struct mei_cl *cl)
529 cb->fop_type = MEI_FOP_CLOSE; 529 cb->fop_type = MEI_FOP_CLOSE;
530 if (dev->mei_host_buffer_is_empty) { 530 if (dev->mei_host_buffer_is_empty) {
531 dev->mei_host_buffer_is_empty = false; 531 dev->mei_host_buffer_is_empty = false;
532 if (mei_disconnect(dev, cl)) { 532 if (mei_hbm_cl_disconnect_req(dev, cl)) {
533 rets = -ENODEV; 533 rets = -ENODEV;
534 dev_dbg(&dev->pdev->dev, "failed to call mei_disconnect.\n"); 534 dev_err(&dev->pdev->dev, "failed to disconnect.\n");
535 goto free; 535 goto free;
536 } 536 }
537 mdelay(10); /* Wait for hardware disconnection ready */ 537 mdelay(10); /* Wait for hardware disconnection ready */