Commit 18717b06 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Jonathan Corbet

serial: doc: .(un)throttle() are serialized by the tty layer

Document that .(un)throttle() are serialized with each other, and with
termios modification by the tty layer.
Reported-by: default avatarPeter Hurley <peter@hurleysoftware.com>
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent a3bedc3b
...@@ -137,7 +137,8 @@ hardware. ...@@ -137,7 +137,8 @@ hardware.
should be sent to the serial port. should be sent to the serial port.
This will be called only if hardware assisted flow control is enabled. This will be called only if hardware assisted flow control is enabled.
Locking: none. Locking: serialized with .unthrottle() and termios modification by the
tty layer.
unthrottle(port) unthrottle(port)
Notify the serial driver that characters can now be sent to the serial Notify the serial driver that characters can now be sent to the serial
...@@ -145,7 +146,8 @@ hardware. ...@@ -145,7 +146,8 @@ hardware.
disciplines. disciplines.
This will be called only if hardware assisted flow control is enabled. This will be called only if hardware assisted flow control is enabled.
Locking: none. Locking: serialized with .throttle() and termios modification by the
tty layer.
send_xchar(port,ch) send_xchar(port,ch)
Transmit a high priority character, even if the port is stopped. Transmit a high priority character, even if the port is stopped.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment