From: Oren Weil Date: Wed, 7 Sep 2011 06:03:17 +0000 (+0300) Subject: staging: mei: adding mei_wd_stop function comment X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=d8deca315b99fca4f4c9ba559468145e52109ecc;p=~shefty%2Frdma-dev.git staging: mei: adding mei_wd_stop function comment Signed-off-by: Oren Weil Acked-by: Tomas Winkler Signed-off-by: Greg Kroah-Hartman --- 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;