From d8deca315b99fca4f4c9ba559468145e52109ecc Mon Sep 17 00:00:00 2001 From: Oren Weil Date: Wed, 7 Sep 2011 09:03:17 +0300 Subject: [PATCH] staging: mei: adding mei_wd_stop function comment Signed-off-by: Oren Weil Acked-by: Tomas Winkler Signed-off-by: Greg Kroah-Hartman --- drivers/staging/mei/wd.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/staging/mei/wd.c b/drivers/staging/mei/wd.c index b56b1cc1e8d..ffca7ca3265 100644 --- a/drivers/staging/mei/wd.c +++ b/drivers/staging/mei/wd.c @@ -120,6 +120,16 @@ int mei_wd_send(struct mei_device *dev) return -EIO; } +/** + * mei_wd_stop - sends watchdog stop message to fw. + * + * @dev: the device structure + * @preserve: indicate if to keep the timeout value + * + * returns 0 if success, + * -EIO when message send fails + * -EINVAL when invalid message is to be sent + */ int mei_wd_stop(struct mei_device *dev, bool preserve) { int ret; -- 2.46.0