aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/hbm.c
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2014-11-05 11:44:48 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-07 09:59:08 -0800
commit5ebdc364588a5b988fdaf56e2ec01815f1876e9a (patch)
tree48eb74ba978da156b4e87d3e8964a5e185b178f9 /drivers/misc/mei/hbm.c
parentmei: nfc: clean nfc internal struct on host exit (diff)
downloadlinux-dev-5ebdc364588a5b988fdaf56e2ec01815f1876e9a.tar.xz
linux-dev-5ebdc364588a5b988fdaf56e2ec01815f1876e9a.zip
mei: fix hbm MEI_HBM_STARTED ambiguity
We have MEI_HBM_STARTED in two contexts one after start message was received and second after enumeration was completed. Because after start message reception we move immediately to the enumeration state, we need only the later meaning. Signed-off-by: Tomas Winkler <tomas.winkler@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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/misc/mei/hbm.c b/drivers/misc/mei/hbm.c
index 256fc4673782..239d7f5d6a92 100644
--- a/drivers/misc/mei/hbm.c
+++ b/drivers/misc/mei/hbm.c
@@ -806,8 +806,6 @@ int mei_hbm_dispatch(struct mei_device *dev, struct mei_msg_hdr *hdr)
return -EPROTO;
}
- dev->hbm_state = MEI_HBM_STARTED;
-
if (mei_hbm_enum_clients_req(dev)) {
dev_err(dev->dev, "hbm: start: failed to send enumeration request\n");
return -EIO;