]> Pileus Git - ~andy/linux/blobdiff - drivers/misc/mei/hbm.h
mei: do not run reset flow from the interrupt thread
[~andy/linux] / drivers / misc / mei / hbm.h
index 4ae2e56e404f8d9a99808c24df94d69e6c21ca3b..f2540fff7080cf869265848b9e7d6c8d5b73194e 100644 (file)
@@ -32,13 +32,13 @@ struct mei_cl;
 enum mei_hbm_state {
        MEI_HBM_IDLE = 0,
        MEI_HBM_START,
+       MEI_HBM_STARTED,
        MEI_HBM_ENUM_CLIENTS,
        MEI_HBM_CLIENT_PROPERTIES,
-       MEI_HBM_STARTED,
-       MEI_HBM_STOP,
+       MEI_HBM_STOPPED,
 };
 
-void mei_hbm_dispatch(struct mei_device *dev, struct mei_msg_hdr *hdr);
+int mei_hbm_dispatch(struct mei_device *dev, struct mei_msg_hdr *hdr);
 
 static inline void mei_hbm_hdr(struct mei_msg_hdr *hdr, size_t length)
 {