mei: revamp client connection
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 4 May 2015 06:43:53 +0000 (09:43 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 May 2015 18:13:10 +0000 (11:13 -0700)
commit0c53357ca4b3a03aafc211de663e84dba7c628e2
treec7b92825a458cacd641021e1118ea6a49b0610c6
parent3c66618295ca5fb0fde32e60e5f26557a5fcad5e
mei: revamp client connection

Simplify connect state machine by changing the logic around
Connection request in progress - only check if we have a callback in
relevant queue.
Extract common code into mei_cl_send_connect() function

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>
drivers/misc/mei/bus.c
drivers/misc/mei/client.c
drivers/misc/mei/client.h
drivers/misc/mei/interrupt.c