summaryrefslogtreecommitdiff
path: root/drivers/staging/mei/interface.h
diff options
context:
space:
mode:
authorOren Weil <oren.jer.weil@intel.com>2011-09-07 06:03:07 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-09 20:28:20 (GMT)
commit617aa39639943626fa262757d176be413c54571b (patch)
tree883a42d111db684ffd1123df9688ab7b0bc0e160 /drivers/staging/mei/interface.h
parentf6c39d4f2d350df049a844b658eb6b08c5833e51 (diff)
downloadlinux-fsl-qoriq-617aa39639943626fa262757d176be413c54571b.tar.xz
staging: mei: removing dependency between WD and AMTHI init function.
AMTHI need to be initialized after WD Client was initialized, moving the AMTHI outside of the WD initialization function. in order to remove the coupling between the initialization of those clients. AMTHI is getting initialized (getting connected to the FW feature/client) in two ways: 1) if mei driver fails to send connect message to watchdog client (WD initialization), then immediately the AMTHI client getting initialized right after the watchdog initialization function. 2) if Watchdog client success to send connect message to watchdog client, then only after the driver is getting the connect response message the AMTHI client is getting initialized Signed-off-by: Oren Weil <oren.jer.weil@intel.com> Acked-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/mei/interface.h')
-rw-r--r--drivers/staging/mei/interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/mei/interface.h b/drivers/staging/mei/interface.h
index d0bf5cf..7bcf096 100644
--- a/drivers/staging/mei/interface.h
+++ b/drivers/staging/mei/interface.h
@@ -48,7 +48,7 @@ int mei_flow_ctrl_creds(struct mei_device *dev, struct mei_cl *cl);
int mei_wd_send(struct mei_device *dev);
int mei_wd_stop(struct mei_device *dev, bool preserve);
-void mei_wd_host_init(struct mei_device *dev);
+bool mei_wd_host_init(struct mei_device *dev);
void mei_wd_start_setup(struct mei_device *dev);
int mei_flow_ctrl_reduce(struct mei_device *dev, struct mei_cl *cl);