Skip to content

Commit

Permalink
staging: mei: adding mei_wd_stop function comment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Oren Weil authored and Greg Kroah-Hartman committed Sep 9, 2011
1 parent 214b99f commit d8deca3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/staging/mei/wd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d8deca3

Please sign in to comment.