[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <27304225-c8b0-9cac-94a3-e985e45aa41a@0882a8b5-c6c3-11e9-b005-00805fc181fe.uuid.home.arpa>
Date: Thu, 24 Aug 2023 08:18:57 +0100
From: Simon Arlott <simon@...iron.net>
To: Oliver Neukum <oneukum@...e.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
linux-serial@...r.kernel.org
Subject: [PATCH] docs: ABI: sysfs-tty: close times are in hundredths of a
second
The times for close_delay and closing_wait are in hundredths of a
second, not milliseconds. Fix the documentation instead of trying
to use millisecond values (which would have to be rounded).
Signed-off-by: Simon Arlott <simon@...iron.net>
---
If you'd prefer, I can fold the second part of this into my previous
patch which shouldn't have documented it as milliseconds in the first
place (but I copied it from the other entry).
Documentation/ABI/testing/sysfs-tty | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/Documentation/ABI/testing/sysfs-tty b/Documentation/ABI/testing/sysfs-tty
index e04e322af568..6ee878771f51 100644
--- a/Documentation/ABI/testing/sysfs-tty
+++ b/Documentation/ABI/testing/sysfs-tty
@@ -87,7 +87,8 @@ What: /sys/class/tty/ttyS<x>/close_delay
Date: October 2012
Contact: Alan Cox <alan@...ux.intel.com>
Description:
- Show the closing delay time for this port in ms.
+ Show the closing delay time for this port in hundredths
+ of a second.
These sysfs values expose the TIOCGSERIAL interface via
sysfs rather than via ioctls.
@@ -96,7 +97,8 @@ What: /sys/class/tty/ttyS<x>/closing_wait
Date: October 2012
Contact: Alan Cox <alan@...ux.intel.com>
Description:
- Show the close wait time for this port in ms.
+ Show the close wait time for this port in hundredths of
+ a second.
These sysfs values expose the TIOCGSERIAL interface via
sysfs rather than via ioctls.
@@ -166,7 +168,8 @@ What: /sys/class/tty/ttyACM0/close_delay
Date: August 2023
Contact: linux-usb@...r.kernel.org
Description:
- Set the closing delay time for this port in ms.
+ Set the closing delay time for this port in hundredths of a
+ second.
These sysfs values expose the TIOCGSERIAL interface via
sysfs rather than via ioctls.
@@ -175,7 +178,8 @@ What: /sys/class/tty/ttyACM0/closing_wait
Date: August 2023
Contact: linux-usb@...r.kernel.org
Description:
- Set the close wait time for this port in ms.
+ Set the close wait time for this port in hundredths of a
+ second.
These sysfs values expose the TIOCGSERIAL interface via
sysfs rather than via ioctls.
--
2.37.0
--
Simon Arlott
Powered by blists - more mailing lists