diff mbox series

[2/9] Documentation: serial-rs485: document SER_RS485_DELAY_IN_USEC flag

Message ID 20190220152731.4051-2-martin.kepplinger@ginzinger.com (mailing list archive)
State New, archived
Headers show
Series [1/9] serial: uapi: add SER_RS485_DELAY_IN_USEC flag to struct serial_rs485 | expand

Commit Message

Martin Kepplinger Feb. 20, 2019, 3:27 p.m. UTC
Document the new RS485 flag, SER_RS485_DELAY_IN_USEC that specifies that the
rts delay values stored in struct serial_rs485 hold values in microseconds
instead of milliseconds (the default).

Signed-off-by: Martin Kepplinger <martin.kepplinger@ginzinger.com>
---
 Documentation/serial/serial-rs485.txt | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/Documentation/serial/serial-rs485.txt b/Documentation/serial/serial-rs485.txt
index ce0c1a9b8aab..a1e15e9efc2e 100644
--- a/Documentation/serial/serial-rs485.txt
+++ b/Documentation/serial/serial-rs485.txt
@@ -75,6 +75,9 @@ 
 	/* Set rts delay after send, if needed: */
 	rs485conf.delay_rts_after_send = ...;
 
+	/* Specify the rts delay to be microseconds, not milliseconds */
+	rs485conf.flags |= SER_RS485_DELAY_IN_USEC;
+
 	/* Set this flag if you want to receive data even while sending data */
 	rs485conf.flags |= SER_RS485_RX_DURING_TX;