mei: wait for hbm start non-interruptible
We cannot handle user interrupt in context of hbm start so we only wait for time out which is reasonably short. 1. Add kdoc 2. Rename state to better reflect its function 3. Simplify wait condition and rename wait_recvd_msg to wait_hbm_start Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
12f45ed414
commit
cb02efc3a6
@@ -25,13 +25,15 @@ struct mei_cl;
|
||||
* enum mei_hbm_state - host bus message protocol state
|
||||
*
|
||||
* @MEI_HBM_IDLE : protocol not started
|
||||
* @MEI_HBM_START : start request message was sent
|
||||
* @MEI_HBM_STARTING : start request message was sent
|
||||
* @MEI_HBM_STARTED : start reply message was received
|
||||
* @MEI_HBM_ENUM_CLIENTS : enumeration request was sent
|
||||
* @MEI_HBM_CLIENT_PROPERTIES : acquiring clients properties
|
||||
* @MEI_HBM_STOPPED : stopping exchange
|
||||
*/
|
||||
enum mei_hbm_state {
|
||||
MEI_HBM_IDLE = 0,
|
||||
MEI_HBM_START,
|
||||
MEI_HBM_STARTING,
|
||||
MEI_HBM_STARTED,
|
||||
MEI_HBM_ENUM_CLIENTS,
|
||||
MEI_HBM_CLIENT_PROPERTIES,
|
||||
|
Reference in New Issue
Block a user