mei: revamp connect and disconnect response handling
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 21 Aug 2014 11:29:18 +0000 (14:29 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 05:57:48 +0000 (22:57 -0700)
commit12f45ed414c8d2eac1a98bf2deaf4117e8c0324f
treefead16c23e9916ee9db645c5ad3c2ff9e2a74361
parent5a8373fba0ab2cec8d206747ad60ca4a30821a37
mei: revamp connect and disconnect response handling

Both responses have same flow only the client status
update is different. We introduce handler mei_hbm_cl_res()
that handles both responses
Also we use per client wait queue  (cl->wait) rather then
global dev->wait_recvd_msg

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/client.c
drivers/misc/mei/hbm.c