]> git.karo-electronics.de Git - linux-beck.git/commit
mei: replace check for connection instead of transitioning
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 26 Mar 2015 22:27:59 +0000 (00:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 14:18:56 +0000 (16:18 +0200)
commit6a84d63d22a0ac79ab422b69ef2b4d75002c5641
tree0272d21b8d66df5759a2c8e0f0d0a18f90ec812a
parentf3de9b635d93a3d268adda428e1df94091506a42
mei: replace check for connection instead of transitioning

The function mei_cl_is_transitioning is just opposite
of mei_cl_is_connected. What we actually wanted to
check is if we lost connection so we can discard
the check for transition and check for 'not connected'

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