Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: mei: adding mei_wd_stop function comment

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>

authored by

Oren Weil and committed by
Greg Kroah-Hartman
d8deca31 214b99fd

+10
+10
drivers/staging/mei/wd.c
··· 120 120 return -EIO; 121 121 } 122 122 123 + /** 124 + * mei_wd_stop - sends watchdog stop message to fw. 125 + * 126 + * @dev: the device structure 127 + * @preserve: indicate if to keep the timeout value 128 + * 129 + * returns 0 if success, 130 + * -EIO when message send fails 131 + * -EINVAL when invalid message is to be sent 132 + */ 123 133 int mei_wd_stop(struct mei_device *dev, bool preserve) 124 134 { 125 135 int ret;