]> git.baikalelectronics.ru Git - kernel.git/commit
mei: revamp hbm state machine
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 18 Apr 2013 20:03:48 +0000 (23:03 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Apr 2013 17:58:21 +0000 (10:58 -0700)
commiteb766ba93d415ade8207701fdc3d11b3c8573c87
treefcde453f66d5eb63dcea84ba9e04f9381ecd1e08
parent89010ded117115cd2939adf7794a0ccf1f87d77a
mei: revamp hbm state machine

1. Rename init_clients_state to hbm_state and use
MEI_HBM_ prefix for HBM states

2. Remove recvd_msg and use hbm state for synchronizing
hbm protocol has successful start.
We can wake up the hbm event from start response handler
and remove the hack from the interrupt thread

3. mei_hbm_start_wait function encapsulate start completion
waiting

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/hbm.c
drivers/misc/mei/hbm.h
drivers/misc/mei/hw-me.c
drivers/misc/mei/init.c
drivers/misc/mei/interrupt.c
drivers/misc/mei/main.c
drivers/misc/mei/mei_dev.h