All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/1] drivers: serial: document on_baudrate()
@ 2018-07-29  8:41 Heinrich Schuchardt
  2018-08-11  1:45 ` [U-Boot] [U-Boot,1/1] " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Heinrich Schuchardt @ 2018-07-29  8:41 UTC (permalink / raw)
  To: u-boot

Add parameter description.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 drivers/serial/serial.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c
index 63b232b536c..c84fd83f210 100644
--- a/drivers/serial/serial.c
+++ b/drivers/serial/serial.c
@@ -36,7 +36,15 @@ static void serial_null(void)
 /**
  * on_baudrate() - Update the actual baudrate when the env var changes
  *
+ * @name:	changed environment variable
+ * @value:	new value of the environment variable
+ * @op:		operation (create, overwrite, or delete)
+ * @flags:	attributes of environment variable change,
+ *		see flags H_* in include/search.h
+ *
  * This will check for a valid baudrate and only apply it if valid.
+ *
+ * Return:	0 on success, 1 on error
  */
 static int on_baudrate(const char *name, const char *value, enum env_op op,
 	int flags)
-- 
2.18.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [U-Boot,1/1] drivers: serial: document on_baudrate()
  2018-07-29  8:41 [U-Boot] [PATCH 1/1] drivers: serial: document on_baudrate() Heinrich Schuchardt
@ 2018-08-11  1:45 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2018-08-11  1:45 UTC (permalink / raw)
  To: u-boot

On Sun, Jul 29, 2018 at 10:41:02AM +0200, Heinrich Schuchardt wrote:

> Add parameter description.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180810/c0b9bdc9/attachment.sig>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-11  1:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-29  8:41 [U-Boot] [PATCH 1/1] drivers: serial: document on_baudrate() Heinrich Schuchardt
2018-08-11  1:45 ` [U-Boot] [U-Boot,1/1] " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.