diff options
| author | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-04-14 05:08:10 -0400 |
|---|---|---|
| committer | Jonathan Corbet <corbet@lwn.net> | 2016-04-15 17:59:12 -0400 |
| commit | 18717b06ee4897c2cc5e92783386c4b304b9fce9 (patch) | |
| tree | a01b932aae17683aea65600c72eb7422730af5c2 /Documentation/serial/driver | |
| parent | a3bedc3bdc6e640141157636e253d63279860e23 (diff) | |
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: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/serial/driver')
| -rw-r--r-- | Documentation/serial/driver | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/serial/driver b/Documentation/serial/driver index 03b703cf9318..7fb80682e394 100644 --- a/Documentation/serial/driver +++ b/Documentation/serial/driver | |||
| @@ -137,7 +137,8 @@ hardware. | |||
| 137 | should be sent to the serial port. | 137 | should be sent to the serial port. |
| 138 | This will be called only if hardware assisted flow control is enabled. | 138 | This will be called only if hardware assisted flow control is enabled. |
| 139 | 139 | ||
| 140 | Locking: none. | 140 | Locking: serialized with .unthrottle() and termios modification by the |
| 141 | tty layer. | ||
| 141 | 142 | ||
| 142 | unthrottle(port) | 143 | unthrottle(port) |
| 143 | Notify the serial driver that characters can now be sent to the serial | 144 | Notify the serial driver that characters can now be sent to the serial |
| @@ -145,7 +146,8 @@ hardware. | |||
| 145 | disciplines. | 146 | disciplines. |
| 146 | This will be called only if hardware assisted flow control is enabled. | 147 | This will be called only if hardware assisted flow control is enabled. |
| 147 | 148 | ||
| 148 | Locking: none. | 149 | Locking: serialized with .throttle() and termios modification by the |
| 150 | tty layer. | ||
| 149 | 151 | ||
| 150 | send_xchar(port,ch) | 152 | send_xchar(port,ch) |
| 151 | Transmit a high priority character, even if the port is stopped. | 153 | Transmit a high priority character, even if the port is stopped. |
